1 package org.apache.struts2; 2 3 /*** 4 * Commonly used result names returned by action methods. 5 * 6 * @author crazybob@google.com (Bob Lee) 7 */ 8 public final class ResultNames { 9 10 private ResultNames() {} 11 12 /*** 13 * The action executed successfully. 14 */ 15 public static final String SUCCESS = "success"; 16 17 /*** 18 * The action requires more input, i.e. a validation error occurred. 19 */ 20 public static final String INPUT = "input"; 21 22 /*** 23 * The action requires the user to log in before executing. 24 */ 25 public static final String LOGIN = "login"; 26 27 /*** 28 * The action execution failed irrecoverably. 29 */ 30 public static final String ERROR = "error"; 31 32 /*** 33 * The action executed successfully, but do not execute a result. 34 */ 35 public static final String NONE = "none"; 36 }