<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");
精彩评论