JSTL 1.1 i18n-capable formatting library
JSTL fmt
1.1
fmt
http://java.sun.com/jsp/jstl/fmt
Provides core validation features for JSTL tags.
org.apache.taglibs.standard.tlv.JstlFmtTLV
Sets the request character encoding
requestEncoding
org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag
empty
Name of character encoding to be applied when
decoding request parameters.
value
false
true
Stores the given locale in the locale configuration variable
setLocale
org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag
empty
A String value is interpreted as the
printable representation of a locale, which
must contain a two-letter (lower-case)
language code (as defined by ISO-639),
and may contain a two-letter (upper-case)
country code (as defined by ISO-3166).
Language and country codes must be
separated by hyphen (-) or underscore
(_).
value
true
true
Vendor- or browser-specific variant.
See the java.util.Locale javadocs for
more information on variants.
variant
false
true
Scope of the locale configuration variable.
scope
false
false
Specifies the time zone for any time formatting or parsing actions
nested in its body
timeZone
org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag
JSP
The time zone. A String value is interpreted as
a time zone ID. This may be one of the time zone
IDs supported by the Java platform (such as
"America/Los_Angeles") or a custom time zone
ID (such as "GMT-8"). See
java.util.TimeZone for more information on
supported time zone formats.
value
true
true
Stores the given time zone in the time zone configuration variable
setTimeZone
org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag
empty
The time zone. A String value is interpreted as
a time zone ID. This may be one of the time zone
IDs supported by the Java platform (such as
"America/Los_Angeles") or a custom time zone
ID (such as "GMT-8"). See java.util.TimeZone for
more information on supported time zone
formats.
value
true
true
Name of the exported scoped variable which
stores the time zone of type
java.util.TimeZone.
var
false
false
Scope of var or the time zone configuration
variable.
scope
false
false
Loads a resource bundle to be used by its tag body
bundle
org.apache.taglibs.standard.tag.rt.fmt.BundleTag
JSP
Resource bundle base name. This is the bundle's
fully-qualified resource name, which has the same
form as a fully-qualified class name, that is, it uses
"." as the package component separator and does not
have any file type (such as ".class" or ".properties")
suffix.
basename
true
true
Prefix to be prepended to the value of the message
key of any nested <fmt:message> action.
prefix
false
true
Loads a resource bundle and stores it in the named scoped variable or
the bundle configuration variable
setBundle
org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag
empty
Resource bundle base name. This is the bundle's
fully-qualified resource name, which has the same
form as a fully-qualified class name, that is, it uses
"." as the package component separator and does not
have any file type (such as ".class" or ".properties")
suffix.
basename
true
true
Name of the exported scoped variable which stores
the i18n localization context of type
javax.servlet.jsp.jstl.fmt.LocalizationC
ontext.
var
false
false
Scope of var or the localization context
configuration variable.
scope
false
false
Maps key to localized message and performs parametric replacement
message
org.apache.taglibs.standard.tag.rt.fmt.MessageTag
JSP
Message key to be looked up.
key
false
true
Localization context in whose resource
bundle the message key is looked up.
bundle
false
true
Name of the exported scoped variable
which stores the localized message.
var
false
false
Scope of var.
scope
false
false
Supplies an argument for parametric replacement to a containing
<message> tag
param
org.apache.taglibs.standard.tag.rt.fmt.ParamTag
JSP
Argument used for parametric replacement.
value
false
true
Formats a numeric value as a number, currency, or percentage
formatNumber
org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag
JSP
Numeric value to be formatted.
value
false
true
Specifies whether the value is to be
formatted as number, currency, or
percentage.
type
false
true
Custom formatting pattern.
pattern
false
true
ISO 4217 currency code. Applied only
when formatting currencies (i.e. if type is
equal to "currency"); ignored otherwise.
currencyCode
false
true
Currency symbol. Applied only when
formatting currencies (i.e. if type is equal
to "currency"); ignored otherwise.
currencySymbol
false
true
Specifies whether the formatted output
will contain any grouping separators.
groupingUsed
false
true
Maximum number of digits in the integer
portion of the formatted output.
maxIntegerDigits
false
true
Minimum number of digits in the integer
portion of the formatted output.
minIntegerDigits
false
true
Maximum number of digits in the
fractional portion of the formatted output.
maxFractionDigits
false
true
Minimum number of digits in the
fractional portion of the formatted output.
minFractionDigits
false
true
Name of the exported scoped variable
which stores the formatted result as a
String.
var
false
false
Scope of var.
scope
false
false
Parses the string representation of a number, currency, or percentage
parseNumber
org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag
JSP
String to be parsed.
value
false
true
Specifies whether the string in the value
attribute should be parsed as a number,
currency, or percentage.
type
false
true
Custom formatting pattern that determines
how the string in the value attribute is to be
parsed.
pattern
false
true
Locale whose default formatting pattern (for
numbers, currencies, or percentages,
respectively) is to be used during the parse
operation, or to which the pattern specified
via the pattern attribute (if present) is
applied.
parseLocale
false
true
Specifies whether just the integer portion of
the given value should be parsed.
integerOnly
false
true
Name of the exported scoped variable which
stores the parsed result (of type
java.lang.Number).
var
false
false
Scope of var.
scope
false
false
Formats a date and/or time using the supplied styles and pattern
formatDate
org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag
empty
Date and/or time to be formatted.
value
true
true
Specifies whether the time, the date, or both
the time and date components of the given
date are to be formatted.
type
false
true
Predefined formatting style for dates. Follows
the semantics defined in class
java.text.DateFormat. Applied only
when formatting a date or both a date and
time (i.e. if type is missing or is equal to
"date" or "both"); ignored otherwise.
dateStyle
false
true
Predefined formatting style for times. Follows
the semantics defined in class
java.text.DateFormat. Applied only
when formatting a time or both a date and
time (i.e. if type is equal to "time" or "both");
ignored otherwise.
timeStyle
false
true
Custom formatting style for dates and times.
pattern
false
true
Time zone in which to represent the formatted
time.
timeZone
false
true
Name of the exported scoped variable which
stores the formatted result as a String.
var
false
false
Scope of var.
scope
false
false
Parses the string representation of a date and/or time
parseDate
org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag
JSP
Date string to be parsed.
value
false
true
Specifies whether the date string in the
value attribute is supposed to contain a
time, a date, or both.
type
false
true
Predefined formatting style for days
which determines how the date
component of the date string is to be
parsed. Applied only when formatting a
date or both a date and time (i.e. if type
is missing or is equal to "date" or "both");
ignored otherwise.
dateStyle
false
true
Predefined formatting styles for times
which determines how the time
component in the date string is to be
parsed. Applied only when formatting a
time or both a date and time (i.e. if type
is equal to "time" or "both"); ignored
otherwise.
timeStyle
false
true
Custom formatting pattern which
determines how the date string is to be
parsed.
pattern
false
true
Time zone in which to interpret any time
information in the date string.
timeZone
false
true
Locale whose predefined formatting styles
for dates and times are to be used during
the parse operation, or to which the
pattern specified via the pattern
attribute (if present) is applied.
parseLocale
false
true
Name of the exported scoped variable in
which the parsing result (of type
java.util.Date) is stored.
var
false
false
Scope of var.
scope
false
false