Renders an <a> tag.
The body is trimmed while written.
If the body is empty after being trimmed, then href itself will be written as the body,
represented in RFC 3987: IRI Unicode format.
If the href has a scheme of
the scheme is stripped and the remainder of the href is displayed.
Any attribute that has no namespace and begins with
param. is added to the href as a URL parameter.
The parameter name is the part of the attribute name following
When a parameter value is
null it is not added.
If the value is an
or array, then each non-null element is coerced to
String as a separate
parameter in iteration order. Otherwise, the value itself is
coerced to String
for the parameter value.
The href for the link. The href is modified in several ways to make things much easier to work with.
A nested <ao:href> tag will override this value.
In order to make relative paths predictable, relative paths are interpreted from the current JSP page.
In order to keep paths app-relative, if starts with a /, the context path will be prepended to the path.
In order to simplify things behind URL mapping schemes, the href is always written starting with '/'. This avoids any need to include any <ao:base> tags.
URL rewriting is performed as needed via HttpServletResponse.encodeURL.
To support paths in different character sets, a Unicode to ASCII URI encoding is performed on every character that is not defined in RFC 3986: Reserved Characters. To avoid ambiguity, any dynamic parameters or anchors in the URL must have been correctly encoded by the caller.
If the href represents a local resource, a parameter of "lastModified=#####" may be
automatically added with the timestamp of the local resource to the nearest second.
May be one of
In auto mode, last modified stamping may be disabled by the client with
In auto mode, last modified stamping is not performed on Canonical URLs.