You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/12/10 18:54:08 UTC

DO NOT REPLY [Bug 25415] New: - in JSTL fmt Multiple setLocale work is not compatible JSTL 1.1 specif

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25415

in JSTL fmt Multiple setLocale work is not compatible JSTL 1.1 specif

           Summary: in JSTL fmt Multiple setLocale work is not compatible
                    JSTL 1.1 specif
           Product: Tomcat 5
           Version: 5.0.16
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: william@emymy.net


in JSTL 1.1 spec 8.3.2 about multiple setlocale work explain.
but in tomcat 5.0.16.in one jsp multiple setlocale ,the output html page is not 
work in purpose.

same jsp work in tomcat 4.x ,work fine.so this is a critical bug.

produce steps:
1.create two properties one is:Directory.properties,other is 
Directory_zh_CN.properties.
2.write a jsp with follow code:
 <f:setLocale value="en"/>
<f:setBundle basename="Directory"/>
Name:<f:message key="name"/>
Sex:<f:message key="sex"/>
<hr>follow is chinese
<f:setLocale value="zh_CN"/>
<f:setBundle basename="Directory" />
Name:<f:message key="name"/>
Sex:<f:message key="sex"/>

3.see output .

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