Hi !
You can retrieve the whole resultset, and store the results in a Vector
which is in a session ) and store the results in a convenient object ( e.g.
Hashtable...this will take care of all the columns ) in the vector...so if
you ur resultset shows 50 and you want to have 20 per page . Store it as 20
in vector with session name=records1_20, 20 in vector with session
name=records21-40, and 10 in vector with session name=records41-50....or
whichever naming scheme is convenient to you.
Gautam
----- Original Message -----
From: Paul Szynol <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 16, 1999 10:46 PM
Subject: output
> hi,
>
> can someone tell me how i can get a servlet to spit out from a database 10
> or 20 records at a time?
>
> thanks very much,
> paul
>
>
___________________________________________________________________________
> 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