Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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.

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