org.apache.taglibs.standard.tag.el.core
Class RedirectTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.taglibs.standard.tag.common.core.RedirectSupport
org.apache.taglibs.standard.tag.el.core.RedirectTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, JspTag, Tag, ParamParent
public class RedirectTag
- extends RedirectSupport
A handler for <redirect>, which redirects the browser to a
new URL.
- Author:
- Shawn Bayern
- See Also:
- Serialized Form
Constructor Summary |
RedirectTag()
Constructs a new URLEncodeTag. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RedirectTag
public RedirectTag()
- Constructs a new URLEncodeTag. As with TagSupport, subclasses
should not provide other constructors and are expected to call
the superclass constructor
doStartTag
public int doStartTag()
throws JspException
- Description copied from class:
BodyTagSupport
- Default processing of the start tag returning EVAL_BODY_BUFFERED.
- Specified by:
doStartTag
in interface Tag
- Overrides:
doStartTag
in class RedirectSupport
- Returns:
- EVAL_BODY_BUFFERED
- Throws:
JspException
- if an error occurred while processing this tag- See Also:
Tag.doStartTag()
release
public void release()
- Description copied from class:
BodyTagSupport
- Release state.
- Specified by:
release
in interface Tag
- Overrides:
release
in class RedirectSupport
- See Also:
Tag.release()
setUrl
public void setUrl(String url_)
setContext
public void setContext(String context_)
Copyright © 2007 Mort Bay Consulting. All Rights Reserved.