• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Paging the records

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nope, couldn't find them. But one of the better threads is here.
Dave
reply
    Bookmark Topic Watch Topic
  • New Topic