public class RedirectTag extends TagSupport implements NameValueTag
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
RedirectTag() |
Modifier and Type | Method and Description |
---|---|
void |
addParam(java.lang.String name,
java.lang.String value)
Adds a parameter.
|
int |
doEndTag()
Processed at the end of the tag.
|
int |
doStartTag()
Processed at the beginning of the tag.
|
void |
setContext(Expr context)
Sets the external context for the import.
|
void |
setURL(Expr value)
Sets the URL to be imported.
|
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
public void setURL(Expr value)
public void setContext(Expr context)
public void addParam(java.lang.String name, java.lang.String value)
addParam
in interface NameValueTag
public int doStartTag() throws JspException
TagSupport
The default behavior returns SKIP_BODY to skip the tag's body.
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
public int doEndTag() throws JspException
TagSupport
doEndTag
in interface Tag
doEndTag
in class TagSupport
JspException