A question that I wondered for long. AFAIK, there are 2 paging policies:

- paging in app server memory, in session scope to enable paging in clustered environments, or

- paging in dababase, using scrollable resulsets or related.

I guess, paging in app server, can overload server memory if query results are long, so database paging should be better, in such a cases. However, I do not know if state of arts in database paging is technologically ready.

I would appreciate comments further on this first impressions.

Regards,

Adolfo.







From: Craig McClanahan <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
CC: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: Re: OFF-TOPIC - Paging Results
Date: Tue, 30 Mar 2004 10:01:07 -0800

Joao Batistella wrote:

Hello!

Sorry for the off-topic message.

I would like to know if you recommend any good component for paging results
and presenting it in a JSP page. I'm using struts, so if you know a
component that integrates well with struts, that's perfect.


Thanks for your help.



For working directly with Struts, Matt Raible's display tag is quite popular.

http://displaytag.sourceforge.net

If you are using the JavaServer Faces integration library with Struts, the standard <h:dataTable> component handles paging quite nicely. In addition, it lets you do input fields in the table, not just output.

 http://java.sun.com/j2ee/javaserverfaces/
 http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/

Craig


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


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail



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



Reply via email to