There are lots of them:

http://displaytag.sf.net 
http://valuelist.sf.net 
http://jsptags.com/tags/navigation/pager/pager-taglib-2.0.html 
http://jakarta.apache.org/taglibs/sandbox/doc/datagrid-doc/intro.html 

and some useful articles:

http://raibledesigns.com/page/rd?anchor=there_s_a_new_sorting 
http://kulkarni_ash.tripod.com/howto/jsptaglib-howto.html 

These packages all work the same: they take the entire result set, hold it
in session memory, and page through it.

If you have a million-row result set, this approach won't work. You'll need
to make a trip to the database whenever the user wants a new page. I'm
working on doing this right now.

Wiebe

-----Original Message-----
From: N G [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 07, 2005 12:31 PM
To: Struts-user
Subject: [OT] Open source paginator

Does anyone know of some open source paginator package out there?
Something generic enough that you could stick collections into and it
would paginate it for you based on some criteria and expose methods to
nextPage(), previousPage() and stuff like that.

Thanks,
NG.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to