public abstract class RedirectSupport extends javax.servlet.jsp.tagext.BodyTagSupport implements ParamParent
Support for tag handlers for <redirect>, JSTL 1.0's tag for redirecting to a new URL (with optional query parameters).
| Modifier and Type | Field and Description |
|---|---|
protected String |
context |
protected String |
url |
| Constructor and Description |
|---|
RedirectSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(String name,
String value)
Adds a parameter to this tag's URL.
|
int |
doEndTag() |
int |
doStartTag() |
void |
release() |
void |
setScope(String scope) |
void |
setVar(String var) |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic void setVar(String var)
public void setScope(String scope)
public void addParameter(String name, String value)
ParamParentaddParameter in interface ParamParentParamSupportpublic int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.BodyTagSupportCopyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.