Re: Re: [Struts 2] setting spring bean from action

2006-09-11 Thread Craig McClanahan
On 9/11/06, Ted Husted <[EMAIL PROTECTED]> wrote: The Spring bean can be instantiated as a singleton, and any change made to the object via the property would be to the singleton instance, and reflected anywhere else the object is referenced, including another Action class. I believe that ther

Re: Re: [Struts 2] setting spring bean from action

2006-09-11 Thread Ted Husted
The Spring bean can be instantiated as a singleton, and any change made to the object via the property would be to the singleton instance, and reflected anywhere else the object is referenced, including another Action class. I believe that there may be notions of "session" in the Spring API, but

Re: Re: [Struts 2] setting spring bean from action

2006-09-11 Thread Garner Shawn
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 b

Re: [Struts 2] setting spring bean from action

2006-09-11 Thread Daniel Chacón Sánchez
Find the discussion with this tittle "Double Execution of Struts Actions", this may help you. You have to verify that you don´t have html errors on the use of attributes that have the character ' # ' because that will cause the double execution of an action, for example ... The td don´t have an a

Re: [Struts 2] setting spring bean from action

2006-09-10 Thread Ted Husted
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 Act