Bug 7595

Summary: Localization content is not properly established when using message action with the bundle attribute specifed
Product: Taglibs Reporter: Ryan Lubke <Ryan.Lubke>
Component: Standard TaglibAssignee: Tomcat Developers Mailing List <dev>
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Ryan Lubke 2002-03-29 00:19:11 UTC
Given the following:

<fmt:message key="mkey" bundle="${application.tBundle}"/>

According to section 8.2, page 8-69 a <fmt:message> action with
a 'bundle' attribute will establish a localization context using
the specified ResourceBundle.

This is verified by the fact that ServletResponse.setLocale() is not
called in this case per section 8.4, page 8-75:

  "More specifically, the response's setLocale() method is alwasy called by
   the <fmt:locale> action (see Section 8.5). In addition, it is called by the
   following actions:
     - Any <fmt:bundle> action (see Section 8.6)
     - Any <fmt:message> action that establishes a localization context"