Re: Data Leakage in Struts 2

2008-07-27 Thread Arun M
l >>> >>>Piero >>> >>> - >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >&g

Re: Data Leakage in Struts 2

2008-07-27 Thread Arun M
B. But after sometime some other user Y from >>> some >>> other PCcomes and clicks the Register link, then the data entered by X >>> is >>> prefilled now. >>>I think the CustomerRegisterAction is reused, instead of creating new >>> instance every request. we want to setup such that new >>&

Re: Data Leakage in Struts 2

2008-07-27 Thread Arun M
ut with Spring, try s.th. > like > > oin your applicationContext.xml > > Piero > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >

Re: Data Leakage in Struts 2

2008-07-27 Thread Arun M
ease help us. >> > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this mes

Re: Data Leakage in Struts 2

2008-07-26 Thread dusty
>>Piero >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > ---------------

Re: Data Leakage in Struts 2

2008-07-26 Thread Miguel
Well, the question is if you are using Spring 1.x or 2.x and creating spring beans (using the spring plugin and in your struts.xml using the spring bean name instead of the full class name): If you are using the 1.x version, do as said by Piero Sartini (singleton="false") in your application-contex

Re: Data Leakage in Struts 2

2008-07-26 Thread Piero Sartini
Am Sonntag, 27. Juli 2008 06:04:46 schrieb Arun M: > Yes , we are using spring and hibernate also along with struts. > Could you suggest us, where to configure to resue the beans ?? The spring plugin is described in detail at http://struts.apache.org/2.x/docs/spring-plugin.html I am not using spr

Re: Data Leakage in Struts 2

2008-07-26 Thread Miguel
Please help us. >> >> ------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- > View this message in context: > http://

Re: Data Leakage in Struts 2

2008-07-26 Thread Arun M
-- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Data-Leakage-in-Struts-2-tp18669314p18673188.html Sent from th

Re: Data Leakage in Struts 2

2008-07-26 Thread Richard Yee
Why don't you post your code. It seems that it might have a threading issue. -R Arun M wrote: We are using struts 2.0.11 We have lots of action class. Say one of them is CustomerRegisterAction (which extends ActionSupport ) . When a say user X registers himself on the website; this CustomerR

Re: Data Leakage in Struts 2

2008-07-26 Thread Piero Sartini
Struts2 does create a new Action for every request. Do you use Spring? I think you can configure it to reuse the beans... Piero Am Samstag, 26. Juli 2008 19:48:47 schrieb Arun M: > We are using struts 2.0.11 > > We have lots of action class. Say one of them is CustomerRegisterAction > (wh

Data Leakage in Struts 2

2008-07-26 Thread Arun M
, so that data is not leaking between users. Please help us. -- View this message in context: http://www.nabble.com/Data-Leakage-in-Struts-2-tp18669314p18669314.html Sent from the Struts - User mailing list archive at Nabble.com