On Tue, 16 Jul 2002, Kurosaka, Teruhiko wrote:

> Date: Tue, 16 Jul 2002 14:48:59 -0700
> From: "Kurosaka, Teruhiko" <[EMAIL PROTECTED]>
> To: Craig R. McClanahan <[EMAIL PROTECTED]>
> Cc: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: RE: What does locale="true" really do?
>
> Thank you for reply, Craig.
>
> > The implementation of this tag grabs the current locale from
> > the session
>
> So it is up to the servlet container?
>

Unless the application overrides it.  However, AFAIK, containers will
all implement ServletRequest.getLocale() in terms of the highest priority
language listed on the Accept-Language header -- that's what Tomcat 4
does -- so this represents the *requested* language unless the application
changes to something else.

> -kuro
>

Craig



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to