Question about http://www.displaytag.org paging performance in struts

From: darin dimitrov (darin_dimitrov_at_hotmail.com)
Date: 03/27/04


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.



Relevant Pages

  • How to use jstl varable that set to checkbox?
    ... I am having the problem to show checkbox in jsp. ... recreate the example of displaytag with jstl from ...
    (comp.lang.java.programmer)
  • Re: Record pagination tag for .jsp pages?
    ... I personally like DisplayTag. ... on .jsp pages? ... I need to be able to reference a collection, ... to click a button that says 'next' or something to kick off the ...
    (comp.lang.java.programmer)
  • org.displaytag
    ... I am trying to use DisplayTag from displaytag.sourceforge.net. ... By the way this application will run as a JSR168 portlet ... because the portlets' JSP which contain the ... It keeps asking me to use export filter. ...
    (comp.lang.java.programmer)