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: Struts2 String ThreadSafe?

2012-11-29 Thread Rohit Gupta
So given the fact that my beans are not prototype, there is a chance that the same action class may be used for two consecutive requests. Regards, On 29/11/12 9:02 PM, "Umesh Awasthi" wrote: >First and foremost for using spring with Struts2 make your action bean >scope prototype >and is not be