Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting null in Database retrieval

 
Rakesh Keerthi
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic