Re: MessageTag set specific Local

2005-04-26 Thread delbd
You can also change the locale by mapping org.apache.struts.actions.LocaleAction to locale.do in your struts-config.xml, using a dynaform. The user can then switch language using somthing like locale.do?language=frcountry=bepage=/jsps/myjsptogoto.jsp country and page are optional arguments.

MessageTag set specific Local

2005-04-25 Thread Marcel Stör
Hi all, Had my first Struts experiences yesterday... MessageTag uses the browser's language settings to determin the Locale, which is being used to retrieve language-specific messages. So far so good. How can I force MessageTag to use a particular Locale for a request? The API suggests to use the

Re: MessageTag set specific Local

2005-04-25 Thread vinod perla
vinod wrote: u can set to a specific Locale in the Action Class by calling the method setLocale(HttpServletRequest request,java.util.Locale locale).The default scope of this is session. regards vinod On 4/25/05, Marcel Stör [EMAIL PROTECTED] wrote: Hi all, Had my first Struts

RE: MessageTag set specific Local

2005-04-25 Thread =?iso-8859-1?Q?Marcel_St=F6r?=
vinod perla mailto:[EMAIL PROTECTED] wrote: vinod wrote: u can set to a specific Locale in the Action Class by calling the method setLocale(HttpServletRequest request,java.util.Locale locale).The default scope of this is session. So, what you're saying is, that one cannot set