How about if you had an attribute sent with the page when they accessed it.
If there it is null then show the first say 20 or so and save the session.
Then in your link to send the next 20 get the data from the session with the
extra attribute showing that they have seen the first 20 by like setting it
to 21 such as a pointer.

        Just an idea,
        Matt



-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's JavaServlet API
Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Sushil Singh
Sent: Friday, October 13, 2000 1:28 PM
To: [EMAIL PROTECTED]
Subject: List Manager View

Hi:

I would like to display datebase result page by page, i.e. if the
resultset (jdbc) contains 100 records then I would like to display 10
records at a time and if user selects next/prev page, it should display
the corresponding page records.  If anybody can provide me information
regarding how to implement, it will be highly appreciated. I have
implemented the same thing with DB2 record level access (i.e. pointer
level)

Thanks in advance.

Sushil

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to