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 |
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.
|
static final String SUCCESS
static final String NONE
static final String ERROR
static final String INPUT
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-2015 Apache Software Foundation. All Rights Reserved.