Determines the client's preferred locales from the request, and compares
each of the locales (in order of preference) against the available
locales in order to determine the best matching locale.
Determines the client's preferred locales from the request, and compares
each of the locales (in order of preference) against the available
locales in order to determine the best matching locale.
Gets the resource bundle with the given base name, whose locale is
determined as follows:
Check if a match exists between the ordered set of preferred locales and
the available locales, for the given base name.
Stores the given locale in the response object of the given page context,
and stores the locale's associated charset in the
javax.servlet.jsp.jstl.fmt.request.charset session attribute, which may
be used by the action in a page invoked by a form
included in the response to set the request charset to the same as the
response charset (this makes it possible for the container to decode the
form parameter values properly, since browsers typically encode form
field values using the response's charset).