所有拦截器声明 <interceptorname="alias"class="com.opensymphony.xwork2.interceptor.AliasInterceptor"/> <interceptorname="autowiring"class="com.opensymphony.xwork2.spring.interceptor.ActionAutowiringInterceptor"/> <interceptorname="chain"class="com.opensymphony.xwork2.interceptor.ChainingInterceptor"/> <interceptorname="conversionError"class="org.apache.struts2.interceptor.StrutsConversionErrorInterceptor"/> <interceptorname="cookie"class="org.apache.struts2.interceptor.CookieInterceptor"/> <interceptorname="clearSession"class="org.apache.struts2.interceptor.ClearSessionInterceptor"/> <interceptorname="createSession"class="org.apache.struts2.interceptor.CreateSessionInterceptor"/> <interceptorname="debugging"class="org.apache.struts2.interceptor.debugging.DebuggingInterceptor"/> <interceptorname="execAndWait"class="org.apache.struts2.interceptor.ExecuteAndWaitInterceptor"/> <interceptorname="exception"class="com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor"/> <interceptorname="fileUpload"class="org.apache.struts2.interceptor.FileUploadInterceptor"/> <interceptorname="i18n"class="com.opensymphony.xwork2.interceptor.I18nInterceptor"/> <interceptorname="logger"class="com.opensymphony.xwork2.interceptor.LoggingInterceptor"/> <interceptorname="modelDriven"class="com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor"/> <interceptorname="scopedModelDriven"class="com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor"/> <interceptorname="params"class="com.opensymphony.xwork2.interceptor.ParametersInterceptor"/> <interceptorname="actionMappingParams"class="org.apache.struts2.interceptor.ActionMappingParametersInteceptor"/> <interceptorname="prepare"class="com.opensymphony.xwork2.interceptor.PrepareInterceptor"/> <interceptorname="staticParams"class="com.opensymphony.xwork2.interceptor.StaticParametersInterceptor"/> <interceptorname="scope"class="org.apache.struts2.interceptor.ScopeInterceptor"/> <interceptorname="servletConfig"class="org.apache.struts2.interceptor.ServletConfigInterceptor"/> <interceptorname="timer"class="com.opensymphony.xwork2.interceptor.TimerInterceptor"/> <interceptorname="token"class="org.apache.struts2.interceptor.TokenInterceptor"/> <interceptorname="tokenSession"class="org.apache.struts2.interceptor.TokenSessionStoreInterceptor"/> <interceptorname="validation"class="org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor"/> <interceptorname="workflow"class="com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor"/> <interceptorname="store"class="org.apache.struts2.interceptor.MessageStoreInterceptor"/> <interceptorname="checkbox"class="org.apache.struts2.interceptor.CheckboxInterceptor"/> <interceptorname="profiling"class="org.apache.struts2.interceptor.ProfilingActivationInterceptor"/> <interceptorname="roles"class="org.apache.struts2.interceptor.RolesInterceptor"/> <interceptorname="annotationWorkflow"class="com.opensymphony.xwork2.interceptor.annotations.AnnotationWorkflowInterceptor"/> <interceptorname="multiselect"class="org.apache.struts2.interceptor.MultiselectInterceptor"/> 默认拦截器栈 <interceptor-stackname="defaultStack"> <interceptor-refname="exception"/> <interceptor-refname="alias"/> <interceptor-refname="servletConfig"/> <interceptor-refname="i18n"/> <interceptor-refname="prepare"/> <interceptor-refname="chain"/> <interceptor-refname="scopedModelDriven"/> <interceptor-refname="modelDriven"/> <interceptor-refname="fileUpload"/> <interceptor-refname="checkbox"/> <interceptor-refname="multiselect"/> <interceptor-refname="staticParams"/> <interceptor-refname="actionMappingParams"/> <interceptor-refname="params"> <param name="excludeParams">dojo\..*,^struts\..*,^session\..*,^request\..*,^application\..*,^servlet(Request|Response)\..*,parameters\...*</param> </interceptor-ref> <interceptor-refname="conversionError"/> <interceptor-refname="validation"> <param name="excludeMethods">input,back,cancel,browse</param> </interceptor-ref> <interceptor-refname="workflow"> <param name="excludeMethods">input,back,cancel,browse</param> </interceptor-ref> <interceptor-refname="debugging"/> </interceptor-stack>