| | |
display corresponding values
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
•
•
request method is one of the more basic one you sure u dont know that? or are you facing a different set of problem?
Jsp Syntax (Toggle Plain Text)
... Class.forName("DB Driver"); Connection cn=DriverManager.getConnection(url,username,password); Statement st=cn.createStatement(); ResultSet rs=st.executeQuery("select * from tab where pkcol='" + request.getParameter("pk_text") + "'"); if(rs.next()) { // Found .... out.println(rs.getString(1) + ...... ); } else out.println("Not found"); ...
Failure is not fatal, but failure to change might be. - John Wooden
![]() |
Similar Threads
- Cannot display values of the array (Java)
- Display values in these arrays (Java)
- Display values in listbox from db table regarding selected item in listbox? (PHP)
- display values from one page to another page (ASP.NET)
- counting a few numbers and storing the values (C++)
- Displaying html values in different textboxes (VB.NET)
- display it in appconfig.xml (VB.NET)
- Fetching Form Values with ASP (ASP)
- How to display rowspan format table? (PHP)
Other Threads in the JSP Forum
- Previous Thread: email sendin with jsp
- Next Thread: Session in jsp
| Thread Tools | Search this Thread |
apache array backbutton combobox comma connection csv database development directorystructure dropdownlist dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 mysql netbeans network parameters passing ping printinserverinsteadofclient read redirect request.getparameter response seperated servlet servletdopost()readxml sessions software sql ssl state_saving_method stocks sun tomcat tutorial update values video web write






