摘要:
1.在struts.xml中<action name="register" class="org.sunxin.struts2.action.RegisterAction"> <!-- 配置异常映射,当RegisterAction抛出Exception异常时,向用户显示error.jsp页面--> <exception-mapping result="error" e... 阅读全文
摘要:
1、在struts.xml<action name="register" class="com.abc"><interceptor-ref name="defaultStack"></interceptor-ref> <interceptor-ref name="execAndWait"> <param name="excludeMethods... 阅读全文