public class RedirectTag extends RedirectSupport
A handler for <redirect>, which redirects the browser to a new URL.
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
context_ |
private java.lang.String |
url_ |
context, url| Constructor and Description |
|---|
RedirectTag()
Constructs a new URLEncodeTag.
|
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag() |
private void |
evaluateExpressions() |
private void |
init() |
void |
release() |
void |
setContext(java.lang.String context_) |
void |
setUrl(java.lang.String url_) |
addParameter, doEndTag, setScope, setVardoAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic RedirectTag()
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class RedirectSupportjavax.servlet.jsp.JspExceptionpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class RedirectSupportpublic void setUrl(java.lang.String url_)
public void setContext(java.lang.String context_)
private void init()
private void evaluateExpressions()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException