struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mister Hundy" <mr_hu...@hotmail.com>
Subject Re: Threading issues
Date Fri, 01 Feb 2002 16:39:22 GMT
Brian,

Try to define all your variables as local to the methods in the action 
class.  If you need to have instance variables be aware that they are shared 
among all the threads accessing the action.



>Hi there,
>     I have not yet had to develop an application that had to deal with 
>threading issues before.  From reading the documentation I see that all 
>users, are using the same instance of the Action class.
>    Can anyone give me some basic pointers on things to do or avoid in 
>order to avoid having users trample each other within my Action code since 
>I seem to have a fair amount of app flow control going on,  or  any design 
>decisions that anyone has come up with to avoid these types of problems.
>
>thanks
>Brian
>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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


Mime
View raw message