public interface Action
execute() method.
 However, as of XWork 1.1, this is not required and is only here to assist users. You are free to create POJOs that honor the same contract defined by this interface without actually implementing the interface.
| Modifier and Type | Field and Description | 
|---|---|
| static String | ERRORThe action execution was a failure. | 
| static String | INPUT
 The action execution require more input
 in order to succeed. | 
| static String | LOGINThe action could not execute, since the
 user most was not logged in. | 
| static String | NONEThe action execution was successful but do not
 show a view. | 
| static String | SUCCESSThe action execution was successful. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | execute()Where the logic of the action is executed. | 
static final String SUCCESS
static final String NONE
static final String ERROR
static final String INPUT
The action execution require more input in order to succeed. This result is typically used if a form handling action has been executed so as to provide defaults for a form. The form associated with the handler should be shown to the end user.
This result is also used if the given input params are invalid, meaning the user should try providing input again.
static final String LOGIN
String execute() throws Exception
Exception - thrown if a system level exception occurs.
                   Note: Application level exceptions should be handled by returning
                   an error value, such as Action.ERROR.Copyright © 2000–2025 Apache Software Foundation. All rights reserved.