You must be using Spring framework but not the Spring plug-in. Here is the link to help you setup.
http://struts.apache.org/2.x/docs/spring-plugin.html -----Original Message----- From: ros [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 12:18 PM To: user@struts.apache.org Subject: RE: how to keep object from action to action Yes, this is it. How to setup StrutsSpringObjectFactory as current? web.xml? struts.xml? Thanks. Jiang, Jane (NIH/NCI) [C] wrote: > > If you use org.apache.struts2.spring.StrutsSpringObjectFactory as your > object factory, and you define mypojo in your action to match your bean > id in the application context, mypojo will be automatically injected for > you by the spring framework. You don't need to use > myManager.loadPojo(). > > You should set the scope of your pojo to be "request" if that is what > you want. The default is singleton. > > -- View this message in context: http://www.nabble.com/how-to-keep-object-from-action-to-action-tf4569127 .html#a13043532 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]