开发者

Struts redirection problem

<action-mappings>
    <action input="/welcomeStruts.jsp" name="CheckForm" path="/checkAction" scope="request" type="CheckAction" validate="false">
        <forward name="success" path="/success.jsp" redirect="true"/>
    </action>
    <action path="/Login" forward="/login.jsp"/>
</action-mappings>

The action CheckAction doesn't redirect to success.jsp even when I fi开发者_开发问答re

return mapping.findForward("success.jsp");

Any advice? Thanks in advance.


How about:

return mapping.findForward("success");
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜