struts-user mailing list archives

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

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.
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 

Get your FREE download of MSN Explorer at

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message