Hi,

I wrote a servlet before just like what you want. I put all the result into
a temp table and then display the first page, for example, 10 records and
check if there are more records left, if yes, display the "next" button, if
no, disable it.

Hope this helps.

Jianhong

----- Original Message -----
From: ravi <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 19, 1999 1:27 AM
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

Reply via email to