Re: Prototype beans

2012-12-03 Thread Lukasz Lenart
2012/12/3 Rohit Gupta : > I am using XML approach, it works fine when the type is not prototype, > understandable so since the same instance is used across requests. As I understand you have been using session scoped actions or even singletons - and edit worked because the instance was there all t

Re: Prototype beans

2012-12-03 Thread Rohit Gupta
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" wrote: >Are you using annotations or xml approach to work with struts? And have >you checked what happens when you do

Re: Prototype beans

2012-12-03 Thread Umesh Awasthi
Not sure if i am able to understand your question Can you clarify what you mean by *How can we achieve edit with prototype beans* In particular *edit* On Mon, Dec 3, 2012 at 2:49 PM, Puneet Babbar 2 wrote: > Are you using annotations or xml approach to work with struts? And have > you checked wha

RE: Prototype beans

2012-12-03 Thread Puneet Babbar 2
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:ro...@in-rev.com] Sent: Monday, December 03, 2012 2:13 PM To: user@struts.apache.org Su