| java.lang.Object org.apache.struts.scripting.StrutsInfo
StrutsInfo | public class StrutsInfo (Code) | | Holds Struts objects.
|
StrutsInfo | public StrutsInfo(ScriptAction action, ActionMapping mapping, ActionForm form, MessageResources res)(Code) | | Constructor.
Parameters: action - The action instance Parameters: mapping - The action mapping Parameters: form - The action form Parameters: res - The message resources for the current locale |
getAction | public ScriptAction getAction()(Code) | | Gets the action instance.
The Struts action |
getForward | public ActionForward getForward()(Code) | | Gets the forward object. If none is set, it tries to find the set
forward name.
The action forward |
setAction | public void setAction(ScriptAction action)(Code) | | Sets the action instance.
Parameters: action - The Struts action |
setForm | public void setForm(ActionForm form)(Code) | | Sets the action form.
Parameters: form - The action form |
setForward | public void setForward(ActionForward f)(Code) | | Sets the action forward object.
Parameters: f - The action forward |
setForwardName | public void setForwardName(String f)(Code) | | Sets the forward name.
Parameters: f - The forward name |
setMapping | public void setMapping(ActionMapping mapping)(Code) | | Sets the action mapping.
Parameters: mapping - The action mapping |
setMessages | public void setMessages(MessageResources res)(Code) | | Sets the message resources.
Parameters: res - The message resources |
|
|