You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by av...@za.safmarine.com on 2002/08/22 19:22:31 UTC
Calling mapping from Action
Hi
Excuse the silly question but how do I specify one of my Action mappings as a
forward for another mapping using Struts 1.0.2 ?
Currently I am trying <forward name="cutOffSearch" path="/cutOffInit.do" /> as a
forward for my Action in my xml file but I just get file not found and
variations of this produce invalid mapping errors.
Is this possible ?
thanks very much
Aisling
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Calling mapping from Action
Posted by John Cheng <jc...@johncheng.dhs.org>.
> From: avasey@za.safmarine.com [mailto:avasey@za.safmarine.com]
> Sent: Thursday, August 22, 2002 10:23 AM
> To: struts-user@jakarta.apache.org
> Subject: Calling mapping from Action
>
>
>
> Hi
> Excuse the silly question but how do I specify one of my
> Action mappings as a
> forward for another mapping using Struts 1.0.2 ?
> Currently I am trying <forward name="cutOffSearch"
> path="/cutOffInit.do" /> as a
> forward for my Action in my xml file but I just get file not found and
> variations of this produce invalid mapping errors.
> Is this possible ?
> thanks very much
> Aisling
>
Have you tried using "/cutOffInit" instead of "/cutOffInit.do?"
Example:
<forward name="cutOffSearch" path="/cutOffInit" />
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>