struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Römer <>
Subject Preparable interface & getLocale()
Date Fri, 11 May 2007 08:10:43 GMT
I noticed that when calling getLocale() from prepare(), it seems to
return the system default locale instead of the locale set by the
request_locale request parameter, which is the case when calling it from

Is that supposed to be like that or could this be a bug?

I think the correct locale is needed also in prepare() in order to
populate controls with internationalized content. As a workaround I get
the locale directly from the request_locale parameter.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message