The escapeBody tag The eval tag The hasBindErrors tag

4.3.9.RELEASE Spring Framework 862 Table 43.2. Attributes Attribute Required? Runtime Expression? Description htmlEscape false true Set HTML escaping for this tag, as boolean value. Overrides the default HTML escaping setting for the current page. ignoreNestedPath false true Set whether to ignore a nested path, if any. Default is to not ignore. path true true The path to the bean or bean property to bind status information for. For instance account.name, company.address.zipCode or just employee. The status object will exported to the page scope, specifically for this bean or bean property

43.4 The escapeBody tag

Escapes its enclosed body content, applying HTML escaping andor JavaScript escaping. The HTML escaping flag participates in a page-wide or application-wide setting i.e. by HtmlEscapeTag or a defaultHtmlEscape context-param in web.xml. Table 43.3. Attributes Attribute Required? Runtime Expression? Description htmlEscape false true Set HTML escaping for this tag, as boolean value. Overrides the default HTML escaping setting for the current page. javaScriptEscapefalse true Set JavaScript escaping for this tag, as boolean value. Default is false.

43.5 The eval tag

Evaluates a Spring expression SpEL and either prints the result or assigns it to a variable. Table 43.4. Attributes Attribute Required? Runtime Expression? Description expression true true The expression to evaluate. htmlEscape false true Set HTML escaping for this tag, as a boolean value. Overrides the default HTML escaping setting for the current page. javaScriptEscapefalse true Set JavaScript escaping for this tag, as a boolean value. Default is false. 4.3.9.RELEASE Spring Framework 863 Attribute Required? Runtime Expression? Description scope false true The scope for the var. application, session, request and page scopes are supported. Defaults to page scope. This attribute has no effect unless the var attribute is also defined. var false true The name of the variable to export the evaluation result to. If not specified the evaluation result is converted to a String and written as output.

43.6 The hasBindErrors tag

Provides Errors instance in case of bind errors. The HTML escaping flag participates in a page-wide or application-wide setting i.e. by HtmlEscapeTag or a defaultHtmlEscape context-param in web.xml. Table 43.5. Attributes Attribute Required? Runtime Expression? Description htmlEscape false true Set HTML escaping for this tag, as boolean value. Overrides the default HTML escaping setting for the current page. name true true The name of the bean in the request, that needs to be inspected for errors. If errors are available for this bean, they will be bound under the errors key.

43.7 The htmlEscape tag