aspose file tools
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
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
 
jQuery in Action, 2nd edition
 
subject: Next and previous buttons in jsp