That is only when using request scoped form and setting the requestURI. Is there a way a avoid re-querying the database when using request scoped form?
- Jim -----Original Message----- From: Amjad I. Shahrour [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 5:00 PM To: Struts Users Mailing List Subject: 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:[EMAIL PROTECTED] 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/ ************************************************************************ ************************************************************************ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]