View Javadoc

1   package org.apache.struts2;
2   
3   import org.apache.struts2.MessageAware;
4   
5   /***
6    * Implemented by actions which wish to execute some validation logic before their action method. Useful for
7    * cross-field validations.
8    *
9    * @author crazybob@google.com (Bob Lee)
10   */
11  public interface Validatable extends MessageAware {
12  
13      /***
14       * Validates input. Executes before action method.
15       */
16      public void validate();
17  }