tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fredrik Westermarck <fredrik.westerma...@mdh.se>
Subject Re: fmt:setLocale value="es"
Date Tue, 19 Nov 2002 15:38:42 GMT
Paul Campbell wrote:
> It seems that if I specify a Locale("es") for the first invocation of a jsp,
> I will get the appropriate output. Spanish Text for labels and headings.
> 
> However, if I access the same page with a different Locale("en") from
> another browser, I still get the same output in Spanish.
> 
> It appears that the format applies at compile time rather than run time
> even though I specify scope as "page" instead of "session", both
> give same result.
> 
> I base this on trying this where I have run a Mozilla as Locale("en" ) and
> on second machine accessed the same page with IE as Locale("es") or
> Mozilla on second machine also as Locale("es") only.
> The access from the second machine has zero latency before it sends back the page.
> 
> Is my understanding faulty? 
> 
> If this behavior is correct, then this capability for internationalization
> means which ever language gets compiled first wins?

I did have the same problem with Tomcat 4.1.15, are you using Tomcat 4.1.x?

I "solved" the problem by disabling tagpooling in conf/web.xml. Is the 
tagpooling in Tomcat 4.1 to blame, or is it non spec-compliant tags? :)

Regards,
Fredrik Westermarck


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message