public class DefaultActionSupport extends ActionSupport
container
Constructor and Description |
---|
DefaultActionSupport()
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
execute()
A default implementation that does nothing an returns "success".
|
String |
getSuccessResultValue() |
void |
setSuccessResultValue(String successResultValue) |
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getLocaleProvider, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
public String execute() throws Exception
ActionSupport
Subclasses should override this method to provide their business logic.
See also Action.execute()
.
execute
in interface Action
execute
in class ActionSupport
Action.SUCCESS
Exception
- can be thrown by subclasses.public String getSuccessResultValue()
public void setSuccessResultValue(String successResultValue)
successResultValue
- The successResultValue to set.Copyright © 2000–2020 Apache Software Foundation. All rights reserved.