File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark ""Next" button functionality" Watch ""Next" button functionality" New topic
Author

"Next" button functionality

Katerina Karen
Greenhorn

Joined: Oct 06, 2003
Posts: 6
I have a web application implemented im J2EE.On the screen I have a table wherein I display 5 records at a time.At the bottom of the table there is a "Next" button to fetch more records.So how is this "Next" button functionality implemented?Do I get all the records from the database put it in a cache and then keep iterating and keep showing 5 records on screen or everytime "Next" button is hit I go to the database and fetch the next 5 records?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
"Katerina" is not a valid display name according to our naming policy. Please change it (hint: you need a last name).
Thank you.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "Next" button functionality