Apache Struts 2 Documentation > Home > FAQs > Why didn't my action tag get executed when I have validation errors
Added by tm_jee, last edited by Ted Husted on Jul 22, 2006  (view change)

The action tag will not get executed when there's a validation error with ValidationInterceptor and DefaultWorkflowInterceptor in place.

One way to make the action gets executed if to have the action's execution method specified in ValidationInterceptor's excludeMethods parameter as show in the following snippet.

<interceptor-ref name="validation">
  <param name="excludeMethods">input,back,cancel,browse</param>
</interceptor-ref>

and defined the method on the action to be executed as one of those excludedMethods, eg.

<saf:action name="myActionAlias!input" executeResult="false" />