Re: Struts2 Storing/Retrieving View objects

2006-12-13 Thread Don Brown
amespace? If so, what's the recommended way for preserving data between requests? - Original Message From: Don Brown <[EMAIL PROTECTED]> To: Struts Users Mailing List ; Jon Wilmoth <[EMAIL PROTECTED]> Sent: Wednesday, December 13, 2006 12:09:05 PM Subject: Re: Struts2 Stori

Re: Struts2 Storing/Retrieving View objects

2006-12-13 Thread Jon Wilmoth
n Brown <[EMAIL PROTECTED]> To: Struts Users Mailing List ; Jon Wilmoth <[EMAIL PROTECTED]> Sent: Wednesday, December 13, 2006 12:09:05 PM Subject: Re: Struts2 Storing/Retrieving View objects Just provide getter methods on your action. Then, you can retrieve the data in your jsp thr

Re: Struts2 Storing/Retrieving View objects

2006-12-13 Thread Don Brown
Just provide getter methods on your action. Then, you can retrieve the data in your jsp through either jsp expressions - ${myProp} - or the Struts 2 tags. Struts 2 makes your action object's properties automatically available to your jsp or other template file. Don On 12/13/06, Jon Wilmoth <[E

Struts2 Storing/Retrieving View objects

2006-12-13 Thread Jon Wilmoth
I'm preparing to make the switch from Struts 1.x to Struts 2 for new development and had a few questions related to how objects used to render data in a JSP page should be stored/retrieved for a desired http namespace. One of the design tenants I try to employ in my current S1 webapp is minimizi