starki78 wrote:
> It seems that the action is not absolutely thread safe.
> Can this be?
>   
Actions should never* have instance variables. You should not have a
connection stored as an instance variable; it should be retrieved within
a method to a method-local variable. If this is what you are doing I'm
surprised you haven't had more issues.

Think of an Action like a servlet: if you have instance variables and
you write to them during a method and it's not synchronized you are
probably making a mistake.

* Of course, if you deal with synchronization issues, never mind. If
it's a read-only variable it probably doesn't matter.

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to