Quoting "Sergei P. Volin" <[EMAIL PROTECTED]>:

> 
> I know this and I do not add/remove elements to/from list at all. Just as I
> said - only reading elements from list.
> Are jsps (Tomcat) thread safe? I'm really worry about that.
> 

Using instance variables to store request-specific state information, in a JSP
or servlet (or in a Struts Action class), is *not* thread safe, because there
is only one instance of the corresponding class, shared by simultaneous
requests.  Using local variables, though, should be fine.

Craig McClanahan


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

Reply via email to