public class RedirectTag extends RedirectSupport
A handler for <redirect>, which redirects the browser to a new URL.
context, urlbodyContentid, pageContextEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
RedirectTag()
Constructs a new URLEncodeTag.
|
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag()
Default processing of the start tag returning EVAL_BODY_BUFFERED.
|
void |
release()
Release state.
|
void |
setContext(String context_) |
void |
setUrl(String url_) |
addParameter, doEndTag, setScope, setVardoAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, setPageContext, setParentpublic RedirectTag()
public int doStartTag()
throws JspException
BodyTagSupportdoStartTag in interface TagdoStartTag in class RedirectSupportJspException - if an error occurred while processing this tagTag.doStartTag()public void release()
BodyTagSupportrelease in interface Tagrelease in class RedirectSupportTag.release()public void setUrl(String url_)
public void setContext(String context_)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.