My current application requires me to provide a "scrollable" set of results if those results number more than a page of a small set (say, 10).
Something like "Pages : 1 2 3 4 5", etc., with each number being a link to the corresponding page of results.
What is the best way to handle this? I would think that using a collection of beans, with each bean representing a result from that database, would do the trick.
Is this the best way, or is there another way? Are there any code samples/examples anywhere so I can get an idea of how to do it?
I am not using a version of
JDBC that supports scrollable ResultSets.