You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Lixin Chu <li...@gmail.com> on 2005/06/11 04:04:23 UTC
[OT] displayTag needs session scoped objects for sort/export ?
Hi,
would like to clarify with those who use displayTag:
is it a must to put list of objects into session to be able sue sort
and export function ?
thanks
lixin
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: displayTag needs session scoped objects for sort/export ?
Posted by Lixin Chu <li...@gmail.com>.
thanks. I do use hibernate. will take a look how to manage it.
On 6/11/05, David G. Friedman <hu...@ix.netcom.com> wrote:
> If you use Hibernate as your DAO layer, you could enable caching so
> DisplayTag won't hit the database every time, assuming you have the memory
> footprint to support that caching.
>
> Regards,
> David
>
> -----Original Message-----
> From: Lixin Chu [mailto:lixin.chu@gmail.com]
> Sent: Saturday, June 11, 2005 6:36 AM
> To: user@struts.apache.org
> Subject: Re: displayTag needs session scoped objects for sort/export ?
>
>
> you can but have to hit the DB every time.
>
> On 6/11/05, Lixin Chu <li...@gmail.com> wrote:
> > Hi,
> > would like to clarify with those who use displayTag:
> > is it a must to put list of objects into session to be able sue sort
> > and export function ?
> >
> > thanks
> > lixin
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: displayTag needs session scoped objects for sort/export ?
Posted by "David G. Friedman" <hu...@ix.netcom.com>.
If you use Hibernate as your DAO layer, you could enable caching so
DisplayTag won't hit the database every time, assuming you have the memory
footprint to support that caching.
Regards,
David
-----Original Message-----
From: Lixin Chu [mailto:lixin.chu@gmail.com]
Sent: Saturday, June 11, 2005 6:36 AM
To: user@struts.apache.org
Subject: Re: displayTag needs session scoped objects for sort/export ?
you can but have to hit the DB every time.
On 6/11/05, Lixin Chu <li...@gmail.com> wrote:
> Hi,
> would like to clarify with those who use displayTag:
> is it a must to put list of objects into session to be able sue sort
> and export function ?
>
> thanks
> lixin
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: displayTag needs session scoped objects for sort/export ?
Posted by Lixin Chu <li...@gmail.com>.
you can but have to hit the DB every time.
On 6/11/05, Lixin Chu <li...@gmail.com> wrote:
> Hi,
> would like to clarify with those who use displayTag:
> is it a must to put list of objects into session to be able sue sort
> and export function ?
>
> thanks
> lixin
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org