On Mon, 10 Feb 2003, Alok Rajkumar Gupta wrote:

> Date: Mon, 10 Feb 2003 13:32:05 +0530
> From: Alok Rajkumar Gupta <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: Threading issues
>
>
> In case of Action Objects what are the threading issues expected.
>

Action objects have the same thread behavior issues as servlets -- there
will be a single instance (per Action definition in struts-config.xml),
which will be accessed via multiple threads at the same time.

In general, that means "do not store per-request state in class instance
variables in an Action."  It's fine to use instance variables for shared
information; just remember that it is shared.

> Regards
> Alok Gupta

Craig

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

Reply via email to