Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: HELP!! Working with Back and Forward buttons


Message #1 by "Chris Cote" <chrscote@9...> on Tue, 2 Jul 2002 16:24:10
Can someone please help me?  I am writing a JSP that displays records from 
a table one at a time with each field in a separate input.  I then want to 
have a forward and a back button, as well as a first and last button, on 
the page so users can move from one record to the next (or previous).  
Since I am fairly new to JSP, could anyone tell me the easiest way to tell 
which record I need to display and how to display that particular record?  
I would also like to make sure that a button is disabled if he can't use 
it.  For example, if they're on the first record, then disable the "Go to 
first ( |<< ) and previous ( < ) buttons.  One of the problems I have is 
that the ResultSet I get from my query could become very large.  In case 
it matters, I am currently using an Access database, though it will 
eventually be migrated to an Oracle DB.

Chris

  Return to Index