To use HTTP redirect feature, the forward is set as follows:
However there is one catch in this method, the actual jsp name is shown.
Therefore we can change the forward action as following:
<forward redirect="true" path="/gotoSuccess.do" name="success">
where gotoSuccess.do is another action mapping using forward action as follows:
<action path="/gotoSuccess" validate="false" parameter="/success.jsp" type="org.apache.actions.ForwardAction">
No comments:
Post a Comment