I have got a similar problem. I am using servlet and i want to show results
10 rows per page like you.At JDBC 1.2 (i am using oracle 8.0.5) there is
only ResultSet's next() method ,means you can go only forward. I learned in
these days that to use
scroll methods like previous,first,last,... in ResultSet , i have to use
JDBC2 , JDK1.2.2 . But i still got problems about connecting oracle 8.0.5
with oracle 8.1.6's JDBC's driver. I am still searching about this. We also
try vektor but got some problems.Can you tell how did you store resultset in
hashtable or can you send an example code?
Thank.
Murat Can Ganiz
----- Original Message -----
From: Marc Krisjanous <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 13, 2000 10:13 AM
Subject: Prev and next for search results - how??
> Hi all,
> I have a question:
>
> I have a search results JSP that stores the search results items in a
> hashtable. I did this in order to store the search results in the session
> object to give the ability to only show 20 search results at a time per
page
> call.
>
> Now... has anyone got a way to do this??
>
> The search results page needs to call itself when a user clicks either
> "prev" or "next" urls on the page. Also, the page must know what block of
> the search results to display.
>
> And again..the search result page must also know when to display the prev
> and next url links such as not displaying the prev on the first 20 results
> shown.
>
> I am using websphere 2.x and JDK1.1.8 - please note that Websphere 2.x
uses
> JSP version .91!
>
> Cheers
>
> Marc
>
>
___________________________________________________________________________
> 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