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]

Reply via email to