This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

REcordset PAging

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CAn u do recordset paging in jsp's as u do in asp's
 
Arun, Shanmugham
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
You can use a while loop before the actual display of records to skip n number of records, where n is the number of records already displayed. The same jsp file should be called with the number of records displayed when the user clicks Next button.
Hope u got it.
Arun
SCJP
 
Phil Hanna
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With JDBC 2.0 and later, you have random access to the result set. If you specify TYPE_SCROLL_INSENSITIVE in the createStatement method, you can position the database cursor at any record in the result set and read forward or backward.
------------------
Phil Hanna
Sun Certified Programmer for the Java 2 Platform
Author of :
JSP: The Complete Reference
Instant Java Servlets
Website: http://www.philhanna.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic