Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This interceptor will grab the query string from the request before the forward occurs and put it under the query string servlet attribute as defined in the 2.4 servlet spec. This interceptor should have no affect on other servlet containers.

See https://issues.apache.org/struts/browse/WW-1563Image Removed for more details.

...

If you define your own stack you can exclude methods from validation by adding the excludeMethods param to both Validation and Workflow. Assuming you are using the defaultStack the the methods input, back and cancel will be ignored. Change default to action!input and declare the input method to return INPUT.

How to disable validation on any given method?

use 

@SkipValidation tag on the method.

 

ex:

Code Block

 @SkipValidation
public String logout() {...} 

 When using clientside validation, DWR states it gets No Data From Server

...