public class HtmlEscapeTag extends RequestContextAwareTag
Note: You can also set a "defaultHtmlEscape" web.xml context-param. A page-level setting overrides a context-param.
HtmlEscapingAwareTag.setHtmlEscape(boolean)
,
Serialized Formlogger, REQUEST_CONTEXT_PAGE_ATTRIBUTE
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
HtmlEscapeTag() |
Modifier and Type | Method and Description |
---|---|
protected int |
doStartTagInternal()
Called by doStartTag to perform the actual work.
|
void |
setDefaultHtmlEscape(boolean defaultHtmlEscape)
Set the default value for HTML escaping,
to be put into the current PageContext.
|
doCatch, doFinally, doStartTag, getRequestContext
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
public void setDefaultHtmlEscape(boolean defaultHtmlEscape)
protected int doStartTagInternal() throws JspException
RequestContextAwareTag
doStartTagInternal
in class RequestContextAwareTag
JspException
TagSupport.doStartTag()