That's how I do it as well.  If you want to let the user change the locale 
themselves with a select box you might check out the custom tag I posted to 
bugzilla:

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

Shameless self promotion, I know, but I do think it's useful.

Dave


>From: "Gideon, Thomas" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
>Subject: RE: how to change locale
>Date: Tue, 17 Sep 2002 16:38:30 -0400
>
>We use something like
>
>request.getSession().setAttribute(Action.LOCALE_KEY, locale);
>
>within the logon action of our application, and that seems to work.
>
>Thomas Gideon
>Sr. Software Developer
>B2eMarkets
>
>301.230.2236  Tel.
>301.230.2248  Fax.
>[EMAIL PROTECTED]
>www.B2eMarkets.com
>
>
> > -----Original Message-----
> > From: Dom [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, September 17, 2002 4:43 PM
> > To: [EMAIL PROTECTED]
> > Subject: how to change locale
> >
> >
> > Hi
> >
> > Using Struts 1.0.2, I need to be able to change the form
> > messages locale
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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

Reply via email to