Internationalization Tag Library

Chapter 22 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. Table 14-7 lists the tags.

Table 14-7. Internationalization Tags
AreaFunctionTagsPrefix
I18nSetting Locale
setLocale
requestEncoding
fmt
Messaging
bundle
message
  param
setBundle
Number and Date Formatting
formatNumber
formatDate
parseDate
parseNumber
setTimeZone
timeZone

JSTL i18n tags ...

Get The J2EE™ Tutorial Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.