The best place to ask anything that might be a Struts 101 question is the Struts USER list.

http://jakarta.apache.org/struts/doc-1.0.2/userGuide/building_controller.html#action_classes

"* 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."

In Struts 1.0, all Actions are instantiated lazily. In Struts 1.1, Actions with a PlugIn interfaces are instantiated at startup.

Brandon Goodin wrote:
This may be a Struts 101 question. But, when a request comes through the
ActionServlet and is forwarded to an Action class.... how are the Action
classes instantiated. Is a new Action class instantiated for each request or
is an Action class instantiated once and reused for all requests?

Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws



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



--
Ted Husted,
Struts in Action <http://husted.com/struts/book.html>


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

Reply via email to