If your actions occur in sequence, (
i.e. submit to an action -> display action ), it's possible to use action chaining to share objects. http://struts.apache.org/2.x/docs/action-chaining.html Roger Varley wrote: > > Hi > > I need to share an object between two actions. As I'm familiar with > servlet programming I reached for the SessionAware interface and share > the object that way. And it works. However. the Javadoc for > SessionAware discourages the use of this interface as it ties the > actions to a servlet environment. What is the recommended Struts 2 way > of doing this? > > Regards > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/%7BS2--Newbie%3A-Sharing-a-POJO-between-two-or-more-actions-tf3401421.html#a9478515 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]