aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "help me plz" Watch "help me plz" New topic
Author

help me plz

sorimachi wong
Greenhorn

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
Greenhorn

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.
 
jQuery in Action, 2nd edition
 
subject: help me plz