Apache Struts 2 Documentation > Home > FAQs > How can we change which methods are excused from validation
Added by Ted Husted, last edited by Ted Husted on Nov 08, 2006

By default, the methods input, back, cancel, and browse are excluded from validation. These method names are provided as a parameter to the validation interceptor as configured in the struts-default package. To change the excluded methods, we just need to change the parameter.

<action name=xxx>
<interceptor-ref name="defaultStack">
<param name="validation.excludeMethods">method1,method2</param>
</interceptor-ref>
</action>