Hi

Using Struts 1.0.2, I need to be able to change the form messages locale

I tried to reload the action and use :

locale = new Locale(language, country);
setLocale(request, locale);
messages = getResources();

but the locale doesn't change.

If I insert after setLocale()

((ActionServlet) servlet).initApplication();

the locale change and everything is ok.

This seems a rather hard solution. Ain't there a more elegant one ?

Dom



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

Reply via email to