File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Getting null in Database retrieval Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Getting null in Database retrieval" Watch "Getting null in Database retrieval" New topic
Author

Getting null in Database retrieval

Rakesh Keerthi
Ranch Hand

Joined: Jul 16, 2012
Posts: 136
Hi I have the below code
1)



and to retrieve the data i use the below jsp




the values are taken correctly(when i print before executing a query). but once i execute the query it is showing null. please let me know how do i get the values correctly.
2)
also when i use the below code it is showing nothing but a blank page




when i run the above codes in oracle they are working fine(by replacing the a and b with the values from database) but they are not working in jsp.

Thanks

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting null in Database retrieval
 
Similar Threads
Sql not working for multiple rows
MVC Pattern
How to get all dropdown values
Getting elements by id
How to get all dropdown values