I had used this pagination in one of my projects. It
is not necessary to use JDBC 2.0 to implement this.
Put a counter for number of records retrieved in the
result set. Find out total number of pages by dividing
the number of records by number of pages. Display the
result set in a "for" loop and in the next and
previous button, add to the counter for current number
page or deduct one from that counter.
--- "Opoku-Boadu, Samuel"
<[EMAIL PROTECTED]> wrote:
> Hello Good Fellows,
>
> I am having a problem with how to implement a list
> of records, say, 10 rows
> at a time using a "NEXT" AND "PREVIOUS" BUTTON in my
> JSP page. The back end
> database is Oracle Rdb whose driver is non-JDBC 2.0
> compliant.
>
> Could someone kindly provide me with a solution to
> this problem? Sample code
> too will be greatly appreciated.
>
> Sam
>
>
___________________________________________________________________________
> 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
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
___________________________________________________________________________
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