spring


Standard Syntax:
     <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>

XML Syntax:
     <anyxmlelement xmlns:spring="http://www.springframework.org/tags" />

Spring Framework JSP Tag Library

Tag Library Information
Display NameNone
Version4.0
Short Namespring
URIhttp://www.springframework.org/tags
 

Tag Summary
argumentArgument tag based on the JSTL fmt:param tag. The purpose is to support arguments inside the spring:message and spring:theme tags.
bindProvides 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).
escapeBodyEscapes its enclosed body content, applying HTML escaping and/or 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).
evalEvaluates a Spring expression (SpEL) and either prints the result or assigns it to a variable.
hasBindErrorsProvides 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).
htmlEscapeSets default HTML escape value for the current page. Overrides a "defaultHtmlEscape" context-param in web.xml, if any.
messageRetrieves the message with the given code, or text if code isn't resolvable. 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).
nestedPathSets a nested path to be used by the bind tag's path.
paramParameter tag based on the JSTL c:param tag. The sole purpose is to support params inside the spring:url tag.
themeRetrieves the theme message with the given code, or text if code isn't resolvable. 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).
transformProvides transformation of variables to Strings, using an appropriate custom PropertyEditor from BindTag (can only be used inside BindTag). 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).
urlURL tag based on the JSTL c:url tag. This variant is fully backwards compatible with the standard tag. Enhancements include support for URL template parameters.
 

Function Summary
org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuildermvcUrl( java.lang.String)Helps to prepare a URL to a Spring MVC controller method.
 


Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-3 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.