This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSP and the fly likes navigate through a resultset in a jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "navigate through a resultset in a jsp page" Watch "navigate through a resultset in a jsp page" New topic
Author

navigate through a resultset in a jsp page

mihir maniar
Ranch Hand

Joined: Sep 09, 2003
Posts: 88
whzt i want?
i would like to show 10 records at a time on a jsp page and ther will be a button that will reload the same page to show the next 10 records in the same resultset.how can i achieve this?
what is happening?
when i show the first 10 records i put the resultset in session and the statement object in the <%!%> tag.if i put this tag outside the body of the jsp then i get the error that statement object is unknown when i try to access it.so i keep it in the body tag of the jsp page.secondly when i do that then it shows me the next 10 records but then on subsequent clicks on the button it says resultset is closed.please guide me.thanks you very much well in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: navigate through a resultset in a jsp page