<package name="errordefault" extends="struts-default">
<global-results>
<result name="error">/error.jsp</result>
</global-results>
<global-exception-mappings>
<exception-mapping result="error"exception="java.lang.Exception"></exception-mapping>
</global-exception-mappings>
</package>
哪个package需要使用,改其extends的值为errordefault
<package name="manager" namespace="/manager" extends="errordefault">