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.
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
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
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
4 matches
Mail list logo