, 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
-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
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
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
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
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
6 matches
Mail list logo