The value returned by the Struts 2 Action class method when it completes.
The value returned by the Struts 2 Action
class method when it completes. Actually, it returns a String
type value. The value of the String
is used to select a result element of the configuration. An action configuration will often have a set of result configurations representing different possible outcomes. A standard set of result tokens are defined by the Action
interface are:
String SUCCESS = "success";
String NONE = "none";
String ERROR = "error";
String INPUT = "input";
String LOGIN = "login";
Further details are available: http://struts.apache.org/release/2.3.x/docs/result-configuration.html