67,513
社区成员
发帖
与我相关
我的任务
分享
<!-- 此处定义全局结果 -->
<global-results>
<result name="exception" type="freemarker">/page/exception.ftl</result>
</global-results>
<!-- 此处定义全局异常映射 -->
<global-exception-mappings>
<exception-mapping result="exception" exception="java.lang.Exception" />
<exception-mapping result="exception" exception="java.sql.SQLException" />
</global-exception-mappings>