You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Amjad I. Shahrour" <am...@bt-at.com> on 2005/02/28 10:00:08 UTC
RE: Best practices on using displaytag and cleaning up session scoped form
I don't think so, because when you click next & previous links the
database will database will be queried again.
If you are using a struts action to get the result from DB, then you
sould specify the action in the <display:table> tag by using the
requestURI property.
Hope it helps.
-----Original Message-----
From: Sng Wee Jim [mailto:Wee.Jim.Sng@capco.com]
Sent: Monday, February 28, 2005 11:05 AM
To: user@struts.apache.org
Subject: Best practices on using displaytag and cleaning up session
scoped form
Hi,
I am using displaytag from http://displaytag.sourceforge.net/ and it
seems to me that the datasource for the <display:table> needs to be in
the session scope for the Next and Previous hyperlink to work. Am I
missing something?
I have hence, used a session scoped form and am wondering if there's any
best practices on cleaning up and removing the Struts form from the
session, once it is no longer required?
Thanks in advance.
- Jim
************************************************************************
The information in this email is confidential and is intended solely
for the addressee(s).
Access to this email by anyone else is unauthorized. If you are not
an intended recipient, please notify the sender of this email
immediately. You should not copy, use or disseminate the
information contained in the email.
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Capco.
http://www.capco.com/
************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org