File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes displaying records in different pages. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "displaying records in different pages." Watch "displaying records in different pages." New topic
Author

displaying records in different pages.

s ra
Greenhorn

Joined: Feb 12, 2004
Posts: 7
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

Joined: Jan 10, 2002
Posts: 60822
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Joe Pardi
Ranch Hand

Joined: Oct 03, 2001
Posts: 47
http://www.dotjonline.com/taglib/grid.jsp
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: displaying records in different pages.
 
Similar Threads
iterating thru records
Feching results
iterating thru records
Pagination in jsp
Checkbox selection retention across multiple pages