wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Next and previous buttons in jsp
 
Similar Threads
Display results with next and previous buttons
How to display variant number of record each page based on user's request ?
How to display variant number of record each page based on user's request ?
Scrollable ResultSets with JDev 3.1.12
Which feature of Struts suits this problem better ?