struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nelson, Laird" <Laird.Nel...@FMR.COM>
Subject RE: Struts Actions are Singletons?
Date Wed, 24 Apr 2002 12:57:09 GMT
> -----Original Message-----
> From: abhishek srivastava []
> Are the Action classes that we write for Struts Singletons? 
> or are they 
> created and destroyed per request.

  "The controller servlet creates only one instance of your Action class,
and uses it for all requests. Thus, you need to code your Action class so
that it operates correctly in a multi-threaded environment, just as you must
code a servlet's service() method safely."


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

View raw message