wood burning stoves*
The moose likes JSP and the fly likes How to display variant number of record each page based on user's request ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to display variant number of record each page based on user Watch "How to display variant number of record each page based on user New topic
Author

How to display variant number of record each page based on user's request ?

Ian Yang
Ranch Hand

Joined: Nov 27, 2001
Posts: 44
On one shopping cart jsp page it displayes the records retrieved from database in table format. Now I find I have so many records (rows) to display, so I want to give user an option to choose how many rows they want to view on each page, e.g. they can choose to view 10 rows, or 20 rows, and if they choose 20 rows per page, I will provide buttons like "next 20", "previous 20".
conceptually, what jsp/servlet trick will be used ? any book or url discussing this ?
Thanks,
Yang
Ilja Smoli
Ranch Hand

Joined: Dec 02, 2001
Posts: 64
Here is good conversation about this problem: http://www.javaranch.com/ubb/Forum7/HTML/006603.html
Joe Pardi
Ranch Hand

Joined: Oct 03, 2001
Posts: 47
Try taking a peek at http://www.dotjonline.com/taglib/grid.jsp
 
 
subject: How to display variant number of record each page based on user's request ?
 
Similar Threads
Paginate in JSP
Retreiving 20 rows per page
How to display variant number of record each page based on user's request ?
.getRow is slow for large ResultSet
Displaying few rows on each page