• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to acess data after any change in the database

 
sudha priya
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Actually i am new to this forum.I am very sorry for my incomplete dought.presently i am attending for the technical discussions.So,im asking those one which are asked by the interviewers.

Here is my dought:
If we are retrieving 30 records from the database,we have to print first 10 records in one JSP and we did some insertion for that field and then we have to print next 10 records. How to answer this Query?
Thank You.
[ November 07, 2006: Message edited by: Bear Bibeault ]
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the JSP forum.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally, it's best not to pull more records than you need from the database.
The JSP faq has a section on paging that has example code for different RDBMSs.

http://faq.javaranch.com/search?PaginationOrPaging
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!