ed setLocale that maps to
> an action class. You action class would have code similar to this...
>
> Locale locale = new Locale (request.getParameter ("code");
> setLocale (request, locale);
>
> Jon Ridgway
>
>
> -Original Message-
> From: cyril gu
AIL PROTECTED]]
Sent: 10 July 2002 11:43
To: Struts Users Mailing List
Subject: RE: Switching the locale(language)
Thanks for your answer and in fact I'd like more details about the jsp side
of things.
"Jon.Ridgway" <[EMAIL PROTECTED]> a écrit : Hi Cyril,
In your Action cl
Thanks for your answer and in fact I'd like more details about the jsp side of things.
"Jon.Ridgway" <[EMAIL PROTECTED]> a écrit : Hi Cyril,
In your Action class call setLocale (HttpServletRequest request, Locale
locale). Use your jsp to get the country code ie 'fr'. You can then use this
co
Hi Cyril,
In your Action class call setLocale (HttpServletRequest request, Locale
locale). Use your jsp to get the country code ie 'fr'. You can then use this
code in your action to create the locale, ie Locale locale = new Locale
(code). Once you have set the locale struts will take care of the
4 matches
Mail list logo