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