Introduction The argument tag The bind tag

4.3.9.RELEASE Spring Framework 861

43. spring JSP Tag Library

43.1 Introduction

One of the view technologies you can use with the Spring Framework is Java Server Pages JSPs. To help you implement views using Java Server Pages the Spring Framework provides you with some tags for evaluating errors, setting themes and outputting internationalized messages. Please note that the various tags generated by this form tag library are compliant with the XHTML-1.0- Strict specification and attendant DTD . This appendix describes the spring.tld tag library. • Section 43.2, “The argument tag” • Section 43.3, “The bind tag” • Section 43.4, “The escapeBody tag” • Section 43.6, “The hasBindErrors tag” • Section 43.7, “The htmlEscape tag” • Section 43.8, “The message tag” • Section 43.9, “The nestedPath tag” • Section 43.10, “The param tag” • Section 43.11, “The theme tag” • Section 43.12, “The transform tag” • Section 43.13, “The url tag” • Section 43.5, “The eval tag”

43.2 The argument tag

Argument tag based on the JSTL fmt:param tag. The purpose is to support arguments inside the message and theme tags. Table 43.1. Attributes Attribute Required? Runtime Expression? Description value false true The value of the argument.

43.3 The bind tag

Provides BindStatus object for the given bind path. 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. 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