Two Laptop Bag*
The moose likes JDBC and the fly likes How to show only limited number of database result on 1 page? 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 » Databases » JDBC
Bookmark "How to show only limited number of database result on 1 page?" Watch "How to show only limited number of database result on 1 page?" New topic
Author

How to show only limited number of database result on 1 page?

Chetan Sharma
Greenhorn

Joined: Nov 20, 2008
Posts: 7
I am developing a college project using JSP, servlets using RAD and DB2. What I want to do is if say I am getting 30 results from database I only want to show 10 on page and next of the result can be seen by clicking on next and previous buttons. How can I do so?
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

http://faq.javaranch.com/java/PaginationOrPaging


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Chetan Sharma
Greenhorn

Joined: Nov 20, 2008
Posts: 7
Thanks
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Welcome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to show only limited number of database result on 1 page?
 
Similar Threads
number of results
Paging
Help ...Dynamic Drop Down list
Performance Issue.
How to show alert box when database connection is successful