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 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 action22
My concern is when I'm in the action11 and I want forward in the
action22 directly I found the error "Invalid path was requested". I
tried this configuration:
<action path="/action11" type="ca.xyz.Action11" name="action11Form"
parameter="event">
<forward name="success"
path="/Webapp2/action22.do?event=initCreate"/>
</action>
Somebody can help me,
Thx.
You want redirect instead of forward, so put redirect="true" to your
forward (is it true by default?) You may also need to patch your
URL/context as well. This is essentialy a different web site.
Michael.
---------------------------------------------------------------------
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]