It is already autowiring into my action. I want to autowire out from of my action into spring so it can get autowired in other actions after I set the value and don't want to copy all the bean values from one object to another.
I realize I could autowire an enclosing bean and then set the value but I think it'd be just as easy to set the bean back into spring. Also are spring beans scoped? Application, Session? Shawn
2006/9/10, Ted Husted <[EMAIL PROTECTED]>: On 9/9/06, Garner Shawn <[EMAIL PROTECTED]> wrote: > I want to set the value of the spring bean defined in the spring xml file. > I have the value in the action but I want to set the spring bean's > value with it. Given a matching property, Struts 2 can automatically inject a Spring bean into the Action. Set the beans to autowire and autodect <beans default-autowire="autodetect"> .... </beans>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]