Hello,
I would like to implement the displaytag paging function in a Struts
environment. The jsp page containing the tag is called from an Action where
I populate a LARGE bean from a database and put it in the request object in
order to expose it to my jsp. I set the pagesize parameter to display only a
subset of my bean and enable paging.
Well, everything works just fine but I am a little concerned about
the performance. In the Action I populate the whole list and afterwards I
display only a part of it with the displaytag. Is there a way to tell the
tag to extract only the necessary for the visualization objects from the
database or I have to organize everything manually? The problem is that the
tag uses its own parameters to specify the range of the subset displayed and
I don't know how to use them to make a sub-select of elements. If I make a
sub-select then the bean that I pass to my jsp page will be small but in
that case the displaytag won't show paging.
What would you recommend me to improve the performance and decrease
the size of my bean object?
P.S.: I apologize for my poor English.
--------------------------------------------------------------------------
Darin Dimitrov
INSA Rouen - Department of Applied Mathematics
R�sidence "Galois", apt. 122
5, rue Thomas Becket
76130 Mont-Saint-Aignan
FRANCE
cell: +33(0)6.14.33.02.86
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user