struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amjad I. Shahrour" <amjad.shahr...@bt-at.com>
Subject RE: Best practices on using displaytag and cleaning up session scoped form
Date Mon, 28 Feb 2005 09:00:08 GMT
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


Mime
View raw message