|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface provides the additional methods that are needed
by the Action classes in the dispatcher package.
Any ActionMapping implementation which implements
this interface can be used with the dispatcher package (specify
the fully qualified name of the implementation class in the
deployment descriptor web.xml as init-parameter to
the servlet entry). It is not necessary to use or extend the
mapping implementation provided with this package, since all
other code only requires this interface.
This interface also provides safe accessors for the four "standard" forwards, namely those named "success", "failure", "denied", and "error".
| Method Summary | |
org.apache.struts.action.ActionForward |
denied()
Get the 'access denied' ActionForward. |
org.apache.struts.action.ActionForward |
error()
Get the 'error' ActionForward. |
org.apache.struts.action.ActionForward |
failure()
Get the 'failure' ActionForward. |
java.lang.String |
getAccess()
Get the access specification for this action mapping. |
java.lang.String |
getMethod()
Get the name of the Action class' member function to dispatch to. |
void |
setAccess(java.lang.String access)
Set the access specification for this action mapping. |
void |
setMethod(java.lang.String method)
Set the name of the Action class' member function to dispatch to. |
org.apache.struts.action.ActionForward |
success()
Get the 'success' ActionForward. |
| Method Detail |
public java.lang.String getMethod()
Action class' member function to dispatch to.
public void setMethod(java.lang.String method)
Action class' member function to dispatch to.
method - The method name.public java.lang.String getAccess()
public void setAccess(java.lang.String access)
access - The access information.public org.apache.struts.action.ActionForward success()
ActionForward.
ActionForward.public org.apache.struts.action.ActionForward failure()
ActionForward.
ActionForward.public org.apache.struts.action.ActionForward denied()
ActionForward.
ActionForward.public org.apache.struts.action.ActionForward error()
ActionForward.
ActionForward.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||