The moose likes Servlets and the fly likes Disply records on Browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Disply records on Browser" Watch "Disply records on Browser" New topic

Disply records on Browser

Vedavalli Radhika

Joined: Feb 20, 2007
Posts: 7
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.


Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
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?

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
I agree. Here's the link:
subject: Disply records on Browser
It's not a secret anymore!