I think it is per Struts module rather than webapp (in Struts 1.1)  -
actions are cached in the RequestProcessor and each Struts module has its
own RequestProcessor.

Do you have the same Action class in use in different Struts modules?

Niall

----- Original Message ----- 
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, April 06, 2004 6:56 PM
Subject: Re: Action Class - No of instances


> Senthivel U S wrote:
>
> >Greetings,
> >
> >Programming Jakarta Struts by Chuck Cavaness book says always there will
be
> >only one instance of Action Class but we have checked with the
application
> >and found that there are more than one instance of same action class even
> >though the same instance is serving simultaneous requests. Please any one
> >can clarify us.
> >
> >
> The standard Struts 1.1 request processor creates one Action instance
> per <action> element in your configuration file.  Therefore, the only
> way you'd get more than one such instance (in the same webapp) is if
> you've got more than one <action> element mapped to the same
> implementation class.
>
> >Rgds,
> >
> >IT Support
> >
> >
> Craig
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



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

Reply via email to