Search again and display from 10-20 on the next page. Just remember the
previous index in the session or store the results in the database to
retrieve the next 10 results.
Madhavi
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of ravi
Sent: Thursday, November 18, 1999 12:28 PM
To: [EMAIL PROTECTED]
Subject: displaying search results
Hello all
I have a servlet which searches the data base displays results.
Now i want to display results in different pages.
Example
If the search results in 20 records.
I want to display first 10 results in one page and if the user clicks next
(hyper link)
then i want remaining 10 results to be displayed in the other page
thanks in advance
ravi
___________________________________________________________________________
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