|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
All Actions must minimally implement this interface, which exposes the execute() method.
Field Summary | |
static String |
ERROR
The action execution was a failure. |
static String |
INPUT
The action execution require more input in order to succeed. |
static String |
LOGIN
The action could not execute, since the user most was not logged in. |
static String |
NONE
The action execution was successful but do not show a view. |
static String |
SUCCESS
The action execution was successful. |
Method Summary | |
String |
execute()
Where the logic of the action is executed. |
Field Detail |
public static final String SUCCESS
public static final String NONE
public static final String ERROR
public static final String INPUT
public static final String LOGIN
Method Detail |
public String execute() throws Exception
Exception
- thrown if a system level exception occurs.
Application level exceptions should be handled by returning
an error value, such as Action.ERROR.
|
XWork Project Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |