public class

HtmlEscapeTag

extends RequestContextAwareTag
java.lang.Object
   ↳ TagSupport
     ↳ org.springframework.web.servlet.tags.RequestContextAwareTag
       ↳ org.springframework.web.servlet.tags.HtmlEscapeTag

Class Overview

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.

Summary

[Expand]
Inherited Constants
From class org.springframework.web.servlet.tags.RequestContextAwareTag
[Expand]
Inherited Fields
From class org.springframework.web.servlet.tags.RequestContextAwareTag
Public Constructors
HtmlEscapeTag()
Public Methods
void setDefaultHtmlEscape(String defaultHtmlEscape)
Set the default value for HTML escaping, to be put into the current PageContext.
Protected Methods
int doStartTagInternal()
Called by doStartTag to perform the actual work.
[Expand]
Inherited Methods
From class org.springframework.web.servlet.tags.RequestContextAwareTag
From class java.lang.Object

Public Constructors

public HtmlEscapeTag ()

Public Methods

public void setDefaultHtmlEscape (String defaultHtmlEscape)

Set the default value for HTML escaping, to be put into the current PageContext.

Protected Methods

protected int doStartTagInternal ()

Called by doStartTag to perform the actual work.

Returns
  • same as TagSupport.doStartTag
Throws
JspException