if you are using bean then put the result set in a vector. and
make loop for first ten record and put in the method after call
this method in jsp. it will give you ten tesult.

On Tuesday, September 19, 2000 at 09:53:57 AM, A mailing list about Java Server Pages 
specification and reference wrote:

> Hi,
>
>         I am very new to JSP and JDBC, and I faced the following programming
> problem :
>
>         How do I access the rows returned in a scrollable resultset and
> display it on a html page (one that is embedded in a .jsp file).  The html
> page should have controls or buttons that can allow the user to view the
> records in the following way:
>
>         1.  scroll the page 10 records per page at a time, (backward and
> forward)
>         2.  first 10 records, and last 10 records.
>         3.  scroll the page one records per page at a time, (backward and
> forward)
>
>         I would appreciate any help and advice on these matter from anyone,
> thanks.
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

Vineet K Jain
e-mail: [EMAIL PROTECTED]


--
mailmetoday is a free e-mail service from India Today Group Online that also rewards 
you with cool gifts. Sign up now at http://www.mailmetoday.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to