File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes how jsp pagination can be done Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "how jsp pagination can be done" Watch "how jsp pagination can be done" New topic

how jsp pagination can be done

Sanjaykar Gurram

Joined: May 05, 2008
Posts: 22
hi all ranchers..
recently in an interview i faced a question for to achieving pagination.
how can this be done using jsp's and jdbc.
suppose there 1000 records in the DB.i have to show them to the user 100 records per page, and use next buttons on the page.
how can this be done? in a simple way..

can anybody answer this??
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

This is a common question here.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: how jsp pagination can be done
It's not a secret anymore!