Trying to run multiple ActionServlet instances in the same web application
is going to cause you no end of grief, and is not a supported
configuration.  You should organize your app so that it uses a single
instance of the controller.

Craig McClanahan


On Mon, 3 Jun 2002, Jerry Jalenak wrote:

> Date: Mon, 3 Jun 2002 12:26:38 -0500
> From: Jerry Jalenak <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: Global-Forwards Question
>
> Hi All,
>
> Is it possible to use the mapping.findForward method to forward to another
> ActionServlet?  I have two ActionServlets that both need to forward to a
> third, common ActionServlet.  In my struts-config, I have the following
> line:
>
>       <global-forwards>
>               <forward name="thirdAction" path="/thirdAction" />
>       </global-forwards>
>
> where 'thirdAction' is the common ActionServlet.  In both of the other two
> ActionServlet, I have
>
>       actionForward = mapping.findForward("thirdAction");
>       return actionForward;
>
> It doesn't seem as though the forward is happening as I never get into the
> 'thirdAction'.  Can this be done this way?
>
> Thanks!
>
>
>
> This transmission (and any information attached to it) may be confidential and is 
>intended solely for the use of the individual or entity to which it is addressed. If 
>you are not the intended recipient or the person responsible for delivering the 
>transmission to the intended recipient, be advised that you have received this 
>transmission in error and that any use, dissemination, forwarding, printing, or 
>copying of this information is strictly prohibited. If you have received this 
>transmission in error, please immediately notify LabOne at (800)388-4675.
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to