Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

displaying records in different pages.

 
s ra
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a select st that retrieves 20 records.
I want to display 5 rcords in first page and the next set of 5 records in the next page and similarly the rest.
In my first result page I have first 5 records displayed with a next button. In the next page I have prev and next button and similarly the five records.
I remember seeing discussions like this in this forum.
Can anyone help me with a code or any link that has similar example.
Thanks,
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64685
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, this has been discussed before. Please use the search facility on this forum, as well as the Servlets and JDBC forum to find those discussions.
 
Joe Pardi
Ranch Hand
Posts: 47
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic