org.apache.struts2.interceptor
类 StrutsConversionErrorInterceptor

java.lang.Object
  继承者 com.opensymphony.xwork2.interceptor.AbstractInterceptor
      继承者 com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor
          继承者 org.apache.struts2.interceptor.StrutsConversionErrorInterceptor
所有已实现的接口:
com.opensymphony.xwork2.interceptor.Interceptor, Serializable

public class StrutsConversionErrorInterceptor
extends com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor

This interceptor extends ConversionErrorInterceptor but only adds conversion errors from the ActionContext to the field errors of the action if the field value is not null, "", or {""} (a size 1 String array with only an empty String). See ConversionErrorInterceptor for more information, as well as the Type Conversion documentation.

Interceptor parameters:

Extending the interceptor:

There are no known extension points for this interceptor.

 
 <action name="someAction" class="com.examples.SomeAction">
     <interceptor-ref name="params"/>
     <interceptor-ref name="conversionError"/>
     <result name="success">good_result.ftl</result>
 </action>
 
 

另请参见:
ActionContext.getConversionErrors(), ConversionErrorInterceptor, 序列化表格

字段摘要
 
从类 com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor 继承的字段
ORIGINAL_PROPERTY_OVERRIDE
 
构造方法摘要
StrutsConversionErrorInterceptor()
           
 
方法摘要
 
从类 com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor 继承的方法
intercept
 
从类 com.opensymphony.xwork2.interceptor.AbstractInterceptor 继承的方法
destroy, init
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

StrutsConversionErrorInterceptor

public StrutsConversionErrorInterceptor()