Writing buffered Searches
Hi I seem to be confused on how to write a java servlet or java class that can allow the user to view buffered results from the query he made to the database. For example if the user searches for a document in a database, he should be able to see 10 results returned and when he clicks a hyperlink "Next 10" he will see the next 10 results in the resultset. (Just like the search results displayed by Google).
Can someone guide me to some sample code or an example on how to perform this kind of search.

