Re: Thread safety in struts and better practice question !

2006-02-17 Thread Laurie Harper
nd to "Struts Users Mailing List" To: user@struts.apache.org cc: Subject: Re: Thread safety in struts and better practice question ! Java just doesn't work like that. See inline: [EMAIL PROTECTED] wrote: My understanding for making St

Re: Thread safety in struts and better practice question !

2006-02-16 Thread digant . k . joshi
. Digant Laurie Harper <[EMAIL PROTECTED]> Sent by: news <[EMAIL PROTECTED]> 02/16/2006 01:36 PM Please respond to "Struts Users Mailing List" To: user@struts.apache.org cc: Subject: Re: Thread safety in struts and better practice

Re: Thread safety in struts and better practice question !

2006-02-16 Thread Laurie Harper
Java just doesn't work like that. See inline: [EMAIL PROTECTED] wrote: My understanding for making Struts action thread safe you shouldn't have instance variable in any action class. Correct ? ( it should be OK if you have read only variable ). But to make app for flexible, so in future you can

Thread safety in struts and better practice question !

2006-02-16 Thread digant . k . joshi
My understanding for making Struts action thread safe you shouldn't have instance variable in any action class. Correct ? ( it should be OK if you have read only variable ). But to make app for flexible, so in future you can change value of variable and pass it around helper functions, I made var