struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caroline Lauferon" <caroline.laufe...@cgey.com>
Subject Re: forward vs redirect ?
Date Mon, 01 Dec 2003 17:07:24 GMT
Thank you very much Hubert! and Thank you Claire!
it indeed works the way you describe it. I suppose redirect="true" works
only with /sthg.do or sthg.jsp, and not with a tile definition, isn't it?
So, to solve my problem, I should use a /mytiledefinition.do (being a
forward action), like this :

<action path="/action1" name="Form1" type="actions.Action1" scope="session"
input="/form1.jsp">
    <forward name="ok" path="/page2definition.do" redirect="true"/>
</action>
<action path="/page2definition" type="myForwadingAction"/>

Caroline


---------------------------------------------------------------------
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