Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Paging the records

 
Ricky Saluja
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to the java programming.
I am retrieving more than 5000 records and I have to display 100 per page and provide links to the remaining pages, 1 2 3 4 etc.
Can any body tell the best way to do this.
Thanks
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
'Best' depends heavily on your requirements and database. Lots of people will say lots of different things, but you'll have to weigh it up depending on your problem - eg if you have 5000 records from multiple users, you won't want to be storing the data on the session.
There have been several converations on this in this forum, but also the Servlets and JSP forums. First I'd recommend a serach of those forums.
I do have a list of some of these threads stashed somewhere, I'll have a look and post them if I can find them.
Dave.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope, couldn't find them. But one of the better threads is here.
Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic