struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Gupta <ro...@simplify360.com>
Subject Re: Prototype beans
Date Mon, 03 Dec 2012 09:22:51 GMT
I am using XML approach, it works fine when the type is not prototype,
understandable so since the same instance is used across requests.



On 03/12/12 2:49 PM, "Puneet Babbar 2" <pbabbar2@sapient.com> wrote:

>Are you using annotations or xml approach to work with struts? And have
>you checked what happens when you don't define your struts actions as
>prototype?
>
>-Puneet
>
>-----Original Message-----
>From: rohit [mailto:rohit@in-rev.com]
>Sent: Monday, December 03, 2012 2:13 PM
>To: user@struts.apache.org
>Subject: Prototype beans
>
>
>We are defining struts action classes in spring as prototype bean, in
>this while editing a particular bean a new object is being inserted, I
>can imagine this would be because of prototype nature of beans.
>
>How can we achieve edit with prototype beans?
>
>Regards,
>Rohit
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message