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 Struts and the fly likes Next and previous buttons in jsp 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 » Frameworks » Struts
Bookmark "Next and previous buttons in jsp" Watch "Next and previous buttons in jsp" New topic
Author

Next and previous buttons in jsp

PradeepPillai Pradeep
Ranch Hand

Joined: Nov 15, 2005
Posts: 184
I have a resultset which I display in the jsp using ArrayList of ArrayList. When the ResultSet returns hundreds of rows, I want to display like 25 rows at a time and have next and previous buttons/links in the jsp. How can I do this? I did this using struts.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
There is a separate tag library called struts-layout that has some pagination utilities. You might want to check it out.

Also this thread may give you some ideas


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Next and previous buttons in jsp