org.springframework.web.servlet.tags

Class HtmlEscapeTag

  • All Implemented Interfaces:
    java.io.Serializable, IterationTag, JspTag, Tag, TryCatchFinally


    public class HtmlEscapeTag
    extends RequestContextAwareTag
    The <htmlEscape> tag sets default HTML escape value for the current page. The actual value can be overridden by escaping-aware tags. The default is "false".

    Note: You can also set a "defaultHtmlEscape" web.xml context-param. A page-level setting overrides a context-param.

    Attribute Summary
    Attribute Required? Runtime Expression? Description
    defaultHtmlEscape true true Set the default value for HTML escaping, to be put into the current PageContext.
    Since:
    04.03.2003
    Author:
    Juergen Hoeller
    See Also:
    HtmlEscapingAwareTag.setHtmlEscape(boolean), Serialized Form
    • Constructor Detail

      • HtmlEscapeTag

        public HtmlEscapeTag()