|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.config.BaseConfig org.apache.struts.config.ForwardConfig org.apache.struts.action.ActionForward
public class ActionForward
An ActionForward represents a destination to which the controller, RequestProcessor, might be directed to perform a RequestDispatcher.forward or HttpServletResponse.sendRedirect to, as a result of processing activities of an Action class. Instances of this class may be created dynamically as necessary, or configured in association with an ActionMapping instance for named lookup of potentially multiple destinations for a particular mapping instance.
An ActionForward has the following minimal set of properties. Additional properties can be provided as needed by subclassses.
Since Struts 1.1 this class extends ForwardConfig and inherits the contextRelative property.
NOTE - This class would have been deprecated and replaced by org.apache.struts.config.ForwardConfig except for the fact that it is part of the public API that existing applications are using.
Field Summary |
---|
Fields inherited from class org.apache.struts.config.ForwardConfig |
---|
catalog, command, extensionProcessed, inherit, module, name, path, redirect |
Fields inherited from class org.apache.struts.config.BaseConfig |
---|
configured |
Constructor Summary | |
---|---|
ActionForward()
Construct a new instance with default values. |
|
ActionForward(ActionForward copyMe)
Construct a new instance based on the values of another ActionForward. |
|
ActionForward(java.lang.String path)
Construct a new instance with the specified path. |
|
ActionForward(java.lang.String path,
boolean redirect)
Construct a new instance with the specified path and
redirect flag. |
|
ActionForward(java.lang.String name,
java.lang.String path,
boolean redirect)
Construct a new instance with the specified name ,
path and redirect flag. |
|
ActionForward(java.lang.String name,
java.lang.String path,
boolean redirect,
java.lang.String module)
Construct a new instance with the specified values. |
Method Summary |
---|
Methods inherited from class org.apache.struts.config.ForwardConfig |
---|
checkCircularInheritance, getCatalog, getCommand, getExtends, getModule, getName, getPath, getRedirect, inheritFrom, isExtensionProcessed, processExtends, setCatalog, setCommand, setExtends, setModule, setName, setPath, setRedirect, toString |
Methods inherited from class org.apache.struts.config.BaseConfig |
---|
copyProperties, freeze, getProperties, getProperty, inheritProperties, setProperties, setProperty, throwIfConfigured |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ActionForward()
Construct a new instance with default values.
public ActionForward(java.lang.String path)
Construct a new instance with the specified path.
path
- Path for this instancepublic ActionForward(java.lang.String path, boolean redirect)
Construct a new instance with the specified path
and
redirect
flag.
path
- Path for this instanceredirect
- Redirect flag for this instancepublic ActionForward(java.lang.String name, java.lang.String path, boolean redirect)
Construct a new instance with the specified name
,
path
and redirect
flag.
name
- Name of this instancepath
- Path for this instanceredirect
- Redirect flag for this instancepublic ActionForward(java.lang.String name, java.lang.String path, boolean redirect, java.lang.String module)
Construct a new instance with the specified values.
name
- Name of this forwardpath
- Path to which control should be forwarded or
redirectedredirect
- Should we do a redirect?module
- Module prefix, if anypublic ActionForward(ActionForward copyMe)
Construct a new instance based on the values of another ActionForward.
copyMe
- An ActionForward instance to copy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |