Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disply records on Browser

 
Vedavalli Radhika
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,i have this question, can u help me to know about this
does the browser store records to display on browser each time like 10 records, if we have like 1200 records for that query.i want to disply 10 records at a time on browser when i click "NEXT" i should display other 10 records on the browser.
my question is for each 10 records request will go to server and bring 10 records or all the 1200 records store in the browser buffer and disply 10 each time.
if i want to see "PREVIOUS" from where it brings those 10.

Thanks
Ramesh

 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Each request goes back to the server. The programmer must retain state within his code so that he knows where in the database to get the next 10 records to display. Imagine if there were 1200 records... would you really want to do all those hits to the database if the user only wanted to see the first record?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic