Internationalization Tag Library
Internationalization Tag Library
</td>
<td bgcolor=
"#ffffaa" rowspan=2>
<c:url var=
"url" value="/catalog" >
<c:param name=
"Add" value="${bookId}" />
</c:url>
<p><strong><a href=
"${url}">
<fmt:message key=
"CartAdd"/> </a>
</td>
</tr>
<tr>
<td bgcolor=
"#ffffff">
<fmt:message key=
"By"/> <em>
<x:out select=
"$book/firstname"/>
<x:out select=
"$book/surname"/></em></td></tr>
</x:forEach>
Transformation Tags
The transform tag applies a transformation, specified by an XSLT stylesheet set by the attribute
xslt
, to an XML document, specified by the attribute doc. If the doc attribute is not specified,
the input XML document is read from the tag's body content.
The param subtag can be used along with transform to set transformation parameters. The
attributes name and value are used to specify the parameter. The value attribute is optional. If it
is not specified, the value is retrieved from the tag's body.
Internationalization Tag Library
covers how to design web
applications so that they conform to the language and formatting conventions of client locales.
This section describes tags that support the internationalization of JSP pages.
JSTL defines tags for setting the locale for a page, creating locale-sensitive messages, and
formatting and parsing data elements such as numbers, currencies, dates, and times in a
locale-sensitive or customized manner.
lists the tags.
Internationalization Tag Library
Chapter 7 · JavaServer Pages Standard Tag Library
215