struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Raeburn" <sraeb...@apache.org>
Subject RE: Multiple modules - Please help
Date Mon, 28 Jul 2003 05:33:46 GMT
If the action you are forwarding to is in a different module then you need
to use the SwitchAction or specify contextRelative=true on your forward
definition.

  <forward name="edit" path="/modulename/edit.do" contextRelative="true">

Steve

> -----Original Message-----
> From: Ajay Patil [mailto:apatil@vertex.co.in]
> Sent: July 27, 2003 10:30 PM
> To: struts-user@jakarta.apache.org
> Subject: Multiple modules - Please help
>
>
> Hello,
>
> I am trying to configure Struts with multiple modules. I have got
> most of it working but I am stuck up at one point.
>
> When the action classes forward to a JSP page, everything works ok.
> But I get a 404 error if the action forwards to another action.
>
> <action path="/list"
>         .........>
>   <forward name="edit" path="/edit.do">
> </action>
>
> Has anyone got the above case working with multiple modules ?
> If yes, could you please send me the sample working config file ?
>
> I also tried giving the modulename prefix but I got a 400 error :-(
> <action path="/list"
>         .........>
>   <forward name="edit" path="/modulename/edit.do">
> </action>
>
> Any help is a blessing.
> Ajay
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message