Re: Switching the locale(language)

2002-07-10 Thread Marco Maier
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

RE: Switching the locale(language)

2002-07-10 Thread Jon.Ridgway
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

RE: Switching the locale(language)

2002-07-10 Thread cyril guszkiewicz
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

RE: Switching the locale(language)

2002-07-10 Thread Jon.Ridgway
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