Summary: | accept-language header missing and fallback locale | ||
---|---|---|---|
Product: | Taglibs | Reporter: | Pierre Delisle <pierre.delisle> |
Component: | Standard Taglib | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 1.1 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
Pierre Delisle
2003-11-11 03:35:17 UTC
Indeed, this is a bug. It comes from the fact that HttpServletRequest.getLocales() returns the server's default locale if the request did not specify a preferred language. We therefore need to verify if no preferred locale has been specified in the request and use the fallback locale if that is the case. This is now fixed in JSTL 1.1. |