You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2004/04/07 14:09:19 UTC

DO NOT REPLY [Bug 28258] New: - fmt:formatDate adds multiple content-language headers

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28258>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28258

fmt:formatDate adds multiple content-language headers

           Summary: fmt:formatDate adds multiple content-language headers
           Product: Taglibs
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: I18N Taglib
        AssignedTo: taglibs-dev@jakarta.apache.org
        ReportedBy: antti.suanto@luukku.com


When fmt:formatDate tag is used in jsp-page content-language header is added.
This is ok, but when formatDate tag is called multiple times, multiple
content-language headers are added. This causes that some browsers (including
IE) will not display the page.

The problem seems to be in SetLocaleSupport.getFormattingLocale which for some
reason calls setResponseLocale method and this sets content-language header.

This is tested with 1.0.3 and 1.0.5 versions.

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org