|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTagSupport
org.apache.struts.taglib.logic.ForwardTag
Perform a forward or redirect to a page that is looked up in the configuration information associated with our application.
Field Summary | |
protected static MessageResources |
messages
The message resources for this package. |
protected java.lang.String |
name
The logical name of the ActionForward entry to be
looked up. |
Constructor Summary | |
ForwardTag()
|
Method Summary | |
int |
doEndTag()
Look up the ActionForward associated with the specified name, and perform a forward or redirect to that path as indicated. |
protected void |
doForward(java.lang.String path)
Forward to the given path converting exceptions to JspException. |
protected void |
doRedirect(java.lang.String path)
Redirect to the given path converting exceptions to JspException. |
int |
doStartTag()
Defer processing until the end of this tag is encountered. |
java.lang.String |
getName()
|
void |
release()
Release all allocated resources. |
void |
setName(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static MessageResources messages
protected java.lang.String name
ActionForward
entry to be
looked up.
Constructor Detail |
public ForwardTag()
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
public int doStartTag() throws JspException
JspException
- if a JSP exception has occurredpublic int doEndTag() throws JspException
JspException
- if a JSP exception has occurredprotected void doForward(java.lang.String path) throws JspException
path
- The path to forward to.
JspException
protected void doRedirect(java.lang.String path) throws JspException
path
- The path to redirect to.
JspException
public void release()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |