File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes help me plz Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "help me plz" Watch "help me plz" New topic

help me plz

sorimachi wong

Joined: Apr 07, 2006
Posts: 3
plz help..
i display 10 items record in 1 page.. using e.g"select top 10 * from product)

now is, how to get the no.10 item record id? store in seesion or value.
anyone know? i need easy coding JSP...coz i 'm new..
Vasudevan Badri

Joined: Mar 20, 2006
Posts: 6
Hey Mr.Wong

Since you are Using the JSP's put the query result in to a resultset object. Using the resultset properties you can extract the 10th result and set it to the session using session.setparam.
I agree. Here's the link:
subject: help me plz
It's not a secret anymore!