aspose file tools*
The moose likes Servlets and the fly likes How to display search results in separate pages? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to display search results in separate pages?" Watch "How to display search results in separate pages?" New topic
Author

How to display search results in separate pages?

Mark Lau
Ranch Hand

Joined: Dec 15, 2001
Posts: 120
Say, in my web-application, a search produces 120 results. How do I display 20 results per page, with a total of 6 pages?
My web-application is done in servlets, JSP, JDBC, Java Beans.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Its been a while since we saw this one, wondered when it was coming again
In all seriousness though, you should search for things like paging and resultset in the Servlet, JSP and Servelt forums and find results like this one, as there have been a number of good discussions on the subject.
If you have a problem finding what you want, drop us a line.
Dave.
Mark Lau
Ranch Hand

Joined: Dec 15, 2001
Posts: 120
Thanks, yes. I posted and searched. I found some good replies. Very helpful. But I don't promise I understand all of it. Will get back to you guys soon.
 
 
subject: How to display search results in separate pages?