摘要: 1.在struts.xml中<action name="register" class="org.sunxin.struts2.action.RegisterAction"> <!-- 配置异常映射,当RegisterAction抛出Exception异常时,向用户显示error.jsp页面--> <exception-mapping result="error" e... 阅读全文
posted @ 2009-09-18 15:40 jamin 阅读(885) 评论(0) 推荐(0) 编辑
摘要: 1、在struts.xml<action name="register" class="com.abc"><interceptor-ref name="defaultStack"></interceptor-ref> <interceptor-ref name="execAndWait"> <param name="excludeMethods... 阅读全文
posted @ 2009-09-18 11:40 jamin 阅读(573) 评论(0) 推荐(0) 编辑