Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generating Page Wise Results (20 results each)

 
Bageshwar Pratap Narain
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jsp page, where-in I simply retrieve rows from a table.
Now i want to display the results page-wise (20 results each)
something similar to google.
What are the best practices for accomplishing such tasks.

I am using MySQL 5.0 ( so database specific solutions are also welcome)
My tables would not always have ID numbers in serial order , so using them as a reference number will be waste
 
Jan Cumps
Bartender
Posts: 2584
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JavaRanch FAQ has some suggestions.
 
Bageshwar Pratap Narain
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jan !!!
Problem solved
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic