Manually establishes a URL context when automatic detection is not possible. The body of this tag contains a Uniform Resource Identifier (URI or URL).

Before the first ? symbol, may contain characters in any language. This is more flexible than a strict URL format, these characters will be automatically encoded based on context.

After the first ?, however, the parameters must be properly URL encoded and contain only valid characters. It should not be escaped for (X)HTML, meaning that parameter separators should be "&" instead of "&amp;". The proper escaping/encoding will be performed based on the context of this tag.

It may be a relative or absolute URL. If starts with a /, the context path will be prepended to the path.

Depending on context, the URL will be passed through HttpServletResponse.encodeURL to add any URL-based session state. Session state will never be added to external links.

The content type of this tag is text/url. Must be valid URL-encoded characters only.

Tag Information

Tag Class: com.aoapps.taglib.UrlTag
TagExtraInfo Class: None
Body Content: scriptless
Display Name: None


No Attributes Defined.


No Variables Defined.