You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Bhaskar Gopalan <bg...@adaptintel.com> on 2002/03/28 18:46:36 UTC
Forwarding to action
Hi,
what's the way to forward to another action?
This doesn't work:
<action path="/LoanPipeline"
type="com.mortgagehub.cba.actions.LoanPipelineAction"
name="LoanPipelineForm" scope="session" input="jsp/Pipeline.jsp"
validate="true"/>
<action path="/PipelineFilter"
type="com.mortgagehub.cba.actions.PipelineFilterAction"
name="PipelineFilterForm" scope="session" input="jsp/Filter.jsp"
validate="false">
<forward name="success" path="/LoanPipeline.do"/>
<forward name="failure" path="jsp/Filter.jsp"/>
</action>
Thnx,
Bhaskar
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Forwarding to action
Posted by Ted Husted <hu...@apache.org>.
A URI for an ActionForward is a URI for an ActionForward. It doesn't
matter if it is mapped as an Action, or goes to another servlet, or is
Handled by the container as a HTML page or a JSP. If this mapping
doesn't work, it's not because of the way the forward is setup.
-- Ted Husted, Husted dot Com, Fairport NY US
-- Java Web Development with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services
Bhaskar Gopalan wrote:
>
> Hi,
> what's the way to forward to another action?
>
> This doesn't work:
> <action path="/LoanPipeline"
> type="com.mortgagehub.cba.actions.LoanPipelineAction"
> name="LoanPipelineForm" scope="session" input="jsp/Pipeline.jsp"
> validate="true"/>
>
> <action path="/PipelineFilter"
> type="com.mortgagehub.cba.actions.PipelineFilterAction"
> name="PipelineFilterForm" scope="session" input="jsp/Filter.jsp"
> validate="false">
> <forward name="success" path="/LoanPipeline.do"/>
> <forward name="failure" path="jsp/Filter.jsp"/>
> </action>
>
> Thnx,
> Bhaskar
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>