public class ForwardTag
extends javax.servlet.jsp.tagext.TagSupport
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
ForwardTag() |
| Modifier and Type | Method and Description |
|---|---|
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) |
protected static MessageResources messages
protected java.lang.String name
ActionForward entry to be looked
up.public java.lang.String getName()
public void setName(java.lang.String name)
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - if a JSP exception has occurredpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - if a JSP exception has occurredprotected void doForward(java.lang.String path)
throws javax.servlet.jsp.JspException
path - The path to forward to.javax.servlet.jsp.JspExceptionprotected void doRedirect(java.lang.String path)
throws javax.servlet.jsp.JspException
path - The path to redirect to.javax.servlet.jsp.JspExceptionpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupportCopyright © 2000–2025 Apache Software Foundation. All rights reserved.