my dog learned polymorphism
The moose likes JSP and the fly likes Pagination Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Pagination" Watch "Pagination" New topic


aakash bhatt
Ranch Hand

Joined: Jan 09, 2003
Posts: 182
In my application from front end there can be many complex queries fired. And the result i want to show in my JSP in pagination.
I do not want to store the value in session of collection as many user simulatenously can acces it.
So which is the best alternative. I had heard above cached rowset but do not have a definite idea is there any other way?
Thanks aakash
Anselm Paulinus
Ranch Hand

Joined: Sep 05, 2003
Posts: 390
Consider using hidden fields to pass data from one page to the other for display. This also has its own disadvantage though
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63866

This very subject has been discussed at great length in these forums. If you search this forum (JSP) and the Servlets forum for terms like 'paging' and 'pagination' you should find some useful info.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Pagination
It's not a secret anymore!