如果想重写Struts2的conversionError拦截器,注意需要参照的是ConversionErrorInterceptor的子类StrutsConversionErrorInterceptor,前者在xwork2下,后者在struts2下。
关于struts2的默认拦截器配置:
\struts-2.2.3.1\src\core\src\main\resources\struts-default.xml
关于struts2的默认拦截器配置:
\struts-2.2.3.1\src\core\src\main\resources\struts-default.xml