下面定义了一个全局的 好像是遇到异常就跳转到Error.jsp
<global-results>
<result name="error">/chapterFour/Error.jsp</result>
</global-results> <global-exception-mappings>
<exception-mapping exception="java.lang.Exception"
result="error" />
</global-exception-mappings>Error.jsp如下:
<s:property value="exceptionStack" />现在又在action中定义了名为input的result:
<action name="Login" class="manning.chapterFour.Login">
                        .....
<result name="input">/chapterFour/Login.jsp</result>
</action>那么在该action遇到异常时是会跳转到error.jsp还是Login.jsp?
比如要输入数字却输入了abc的类型转换异常 或1/0的数学异常 或其他的任何异常 会跳转到那个页面呢?