Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Next and previous buttons in jsp

 
PradeepPillai Pradeep
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic