ITeye博客

struts2 配置全局错误页面

harbey · 2009-11-24 17:14 · struts 2.x · Markdown


	<package name="my_struts_default" extends="struts-default"
		abstract="true">
		<global-results>
			<result name="exception">/common/error.jsp</result>
		</global-results>
		<global-exception-mappings>
			<exception-mapping result="exception"
				exception="java.lang.Exception">
			</exception-mapping>
		</global-exception-mappings>
	</package>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。