重定向到某个页面:type=”redirect”
重定向到某个action:type=”redirectAction”
struts默认的返回值是input,表示出现错误,可以转到错误页面
<action name="customer_*" class="customerAction" method="{1}">
<result name="input">/jsp/error.jsp</result>
<result name="login" type="redirect">/login.jsp</result>
<result name="findByPage" type="redirectAction">customer_findByPage.action</result>
</action>