You have to do it manually. In addition to your list of
results, have an index of where you have started counting
from and the number of rows to display. You have to handle
the logic of doing it yourself though. There isn't any
built in mechanism for this. Also depending on how large
the result set is you do or do not want to hold it all in
memory. If the result is small load it into your custom
bean for results where you would have methods like
previous() and others. If the result is large then you
might want to go to the database and make separate queries
for the chunks you need.
dave.
Alaguselvan B wrote:
> Hello all In ASP it is possible to use virtual paging.
> when we have alarge number of records to diplay, we can
> group them by 20or 25 and show only that many records at a
> time. How is t possible in JSP? Even if we write it as a
> bean, how willthe logic be? because in with JDK1.1.x we
> cannot move the recordpointer in the resultset in reverse
> direction. (rs.previous()) i need some help from the Java
> gurus in the list.... thanksAlagu
--
David Mossakowski [EMAIL PROTECTED]
Programmer 212.310.7275
Instinet Corporation
"I don't sit idly by, I'm planning a big surprise"
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html