spring
Tag url


URL 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.


Tag Information
Tag Classorg.springframework.web.servlet.tags.UrlTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
contextfalsetruejava.lang.StringSpecifies a remote application context path. The default is the current application context path.
htmlEscapefalsetruejava.lang.StringSet HTML escaping for this tag, as a boolean value. Overrides the default HTML escaping setting for the current page.
javaScriptEscapefalsetruejava.lang.StringSet JavaScript escaping for this tag, as a boolean value. Default is 'false'.
scopefalsetruejava.lang.StringThe 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.
valuetruetruejava.lang.StringThe URL to build. This value can include template place holders that are replaced with the URL encoded value of the named parameter. Parameters must be defined using the param tag inside the body of this tag.
varfalsetruejava.lang.StringThe name of the variable to export the URL value to.

Variables
No Variables Defined.


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