Question about http://www.displaytag.org paging performance in struts
From: darin dimitrov (darin_dimitrov_at_hotmail.com)
Date: 03/27/04
- Next message: Tajin: "Access a remote IO"
- Previous message: Yoyoma_2: "Re: Making an exe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Mar 2004 14:03:35 -0800
I'm using the http://www.displaytag.org paging capabilities in a
Struts environment. The jsp page containing the tag is called from an
Action where I populate a LARGE bean from a database. In the jsp page
I set the pagesize property of the displaytag in order to limit the
size of the list and display only a sublist of it.
My concern is that I load the whole list from the database and
then display only a part of it with the displaytag which of course is
not good from a performance point of view. On the oder hand the
displaytag is using its own request parameters when doing paging and I
don't know how to prevent it from loading the whole list from the
database.
If you are familiar with the displaytag I would appreciate your
posts concerning the above issue. Thanks.
- Next message: Tajin: "Access a remote IO"
- Previous message: Yoyoma_2: "Re: Making an exe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|