Fork me on GitHub
Edit on GitHub << back to Annotations

InputConfig Annotation

Marks an action method that if it’s not validated by ValidationInterceptor then execute input method or input result.


The InputConfig annotation can be applied at method level.



 public class SampleAction extends ActionSupport {

  public void isValid() throws ValidationException {
    // validate model object, throw exception if failed

  public String execute() {
     // perform action
     return SUCCESS;
  public String input() {
     // perform some data filling
     return INPUT;