Class RedirectTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
jakarta.servlet.jsp.tagext.BodyTagSupport
org.apache.taglibs.standard.tag.common.core.RedirectSupport
org.apache.taglibs.standard.tag.el.core.RedirectTag
- All Implemented Interfaces:
BodyTag,IterationTag,JspTag,Tag,Serializable,ParamParent
A handler for <redirect>, which redirects the browser to a new URL.
- Author:
- Shawn Bayern
- See Also:
-
Field Summary
Fields inherited from class org.apache.taglibs.standard.tag.common.core.RedirectSupport
context, urlFields inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
bodyContentFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAGFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDefault processing of the start tag returning EVAL_BODY_BUFFERED.voidrelease()Release state.voidsetContext(String context_) voidMethods inherited from class org.apache.taglibs.standard.tag.common.core.RedirectSupport
addParameter, doEndTag, setScope, setVarMethods inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
-
Constructor Details
-
RedirectTag
public RedirectTag()Constructs a new URLEncodeTag. As with TagSupport, subclasses should not provide other constructors and are expected to call the superclass constructor
-
-
Method Details
-
doStartTag
Description copied from class:BodyTagSupportDefault processing of the start tag returning EVAL_BODY_BUFFERED.- Specified by:
doStartTagin interfaceTag- Overrides:
doStartTagin classRedirectSupport- Returns:
- EVAL_BODY_BUFFERED
- Throws:
JspException- if an error occurred while processing this tag- See Also:
-
release
public void release()Description copied from class:BodyTagSupportRelease state.- Specified by:
releasein interfaceTag- Overrides:
releasein classRedirectSupport- See Also:
-
setUrl
-
setContext
-