|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
org.apache.struts2.dispatcher.DefaultActionSupport
org.apache.struts2.s1.Struts1Action
public class Struts1Action
Wraps legacy Struts 1.3 Actions. Supports the following features:
Field Summary |
---|
Fields inherited from class com.opensymphony.xwork2.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork2.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
Struts1Action()
|
Method Summary | |
---|---|
String |
execute()
|
org.apache.struts.action.ActionForm |
getModel()
|
String |
getScopeKey()
|
boolean |
isValidate()
|
void |
setClassName(String className)
|
void |
setConfiguration(Configuration config)
|
void |
setModel(org.apache.struts.action.ActionForm model)
|
void |
setObjectFactory(com.opensymphony.xwork2.ObjectFactory fac)
|
void |
setScopeKey(String key)
|
void |
setValidate(boolean validate)
|
Methods inherited from class org.apache.struts2.dispatcher.DefaultActionSupport |
---|
getSuccessResultValue, setSuccessResultValue |
Methods inherited from class com.opensymphony.xwork2.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Struts1Action()
Method Detail |
---|
public void setObjectFactory(com.opensymphony.xwork2.ObjectFactory fac)
public void setConfiguration(Configuration config)
public String execute() throws Exception
execute
in interface com.opensymphony.xwork2.Action
execute
in class DefaultActionSupport
Exception
public void setModel(org.apache.struts.action.ActionForm model)
setModel
in interface com.opensymphony.xwork2.interceptor.ScopedModelDriven<org.apache.struts.action.ActionForm>
public org.apache.struts.action.ActionForm getModel()
getModel
in interface com.opensymphony.xwork2.ModelDriven<org.apache.struts.action.ActionForm>
public boolean isValidate()
public void setValidate(boolean validate)
validate
- the validate to setpublic void setClassName(String className)
className
- the className to setpublic String getScopeKey()
getScopeKey
in interface com.opensymphony.xwork2.interceptor.ScopedModelDriven<org.apache.struts.action.ActionForm>
public void setScopeKey(String key)
setScopeKey
in interface com.opensymphony.xwork2.interceptor.ScopedModelDriven<org.apache.struts.action.ActionForm>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |