Hi Paul,

depends on the database! MySQL-DB has a LIMIT feature.
But you can use a loop to give back only 10 or 20 records from a
resultset.

bye
        MaZe

-------------------------------------------------------------
 BSB Software GmbH       mailto:[EMAIL PROTECTED]
Mayfarthstra�e 25-27    Internet: http://www.bsb-software.com
  60385 Frankfurt
      Tel: +49 69 94 414 718 - Fax: +49 69 94 414 719

    Internet  *  Netzwerke  *  Consulting  *  Schulungen
-------------------------------------------------------------

Paul Szynol wrote:
>
> 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

Reply via email to