Re: Problem forwarding to an action in another webapp

2006-02-17 Thread Laurie Harper
, 2006 2:14 PM To: Struts Users Mailing List Subject: Re: Problem forwarding to an action in another webapp Action path is relative to the current webapp. What you want is a crosscontext forward, ie. : getServletContext().getContext("/Webapp2").getRequestDispatcher("/action 2.do&q

RE: Problem forwarding to an action in another webapp

2006-02-17 Thread Mineau, Christian
-Original Message- From: Alexandre Simon [mailto:[EMAIL PROTECTED] Sent: February 16, 2006 2:14 PM To: Struts Users Mailing List Subject: Re: Problem forwarding to an action in another webapp Action path is relative to the current webapp. What you want is a crosscontext forward, ie

Re: Problem forwarding to an action in another webapp

2006-02-16 Thread Alexandre Simon
Oups... I didn't saw the webapps were in SEPARATE ear files... you will probably encounter some bad classloader issues. Do a redirect, not a forward. Michael Jouravlev wrote: On 2/16/06, Mineau, Christian <[EMAIL PROTECTED]> wrote: We develop an application with Struts MVC. In this applica

Re: Problem forwarding to an action in another webapp

2006-02-16 Thread Alexandre Simon
Action path is relative to the current webapp. What you want is a crosscontext forward, ie. : getServletContext().getContext("/Webapp2").getRequestDispatcher("/action2.do").forward(...) Be sure your container accept it. Hope helps. Mineau, Christian wrote: We develop an application with Str

Re: Problem forwarding to an action in another webapp

2006-02-16 Thread Michael Jouravlev
On 2/16/06, Mineau, Christian <[EMAIL PROTECTED]> wrote: > We develop an application with Struts MVC. In this application, we have > two webApps containing some Struts Actions in each one (i.e two > Struts-config.xml files). These both webApps are in separate EAR files. > > > > > Example: > > Webap

Problem forwarding to an action in another webapp

2006-02-16 Thread Mineau, Christian
We develop an application with Struts MVC. In this application, we have two webApps containing some Struts Actions in each one (i.e two Struts-config.xml files). These both webApps are in separate EAR files. Example: Webapp1 contains action11 and action12 Webapp2 contains action21 and actio