public class RedirectTag extends RedirectSupport
A handler for <redirect>, which redirects the browser to a new URL.
context, url
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_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, setVar
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent, setPageContext, setParent
public RedirectTag()
public int doStartTag() throws JspException
BodyTagSupport
doStartTag
in interface Tag
doStartTag
in class RedirectSupport
JspException
- if an error occurred while processing this tagTag.doStartTag()
public void release()
BodyTagSupport
release
in interface Tag
release
in class RedirectSupport
Tag.release()
public void setUrl(String url_)
public void setContext(String context_)
Copyright © 2018 JBoss by Red Hat. All rights reserved.