Bug 28258

Summary: fmt:formatDate adds multiple content-language headers
Product: Taglibs Reporter: Antti Suanto <antti.suanto>
Component: I18N TaglibAssignee: Tomcat Developers Mailing List <dev>
Severity: major    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Antti Suanto 2004-04-07 12:09:18 UTC
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.
Comment 1 Martin Cooper 2004-04-07 18:50:00 UTC

*** This bug has been marked as a duplicate of 28248 ***