2017-08-02 8:34 GMT+02:00 Rubens Gomes <[email protected]>:
> The request below is sent , but the parameters (request_locale/pageUrl) are 
> not set on the action.
>
> http://localhost:8080/change-locale.do?request_locale=en&pageUrl=%2Fview-login.do

The "request_locale" parameter is a special parameter that tells
I18NInterceptor to change locale, it will be removed after that so you
cannot access it in an action.
If you need to access locale in an action and assuming your extending
the ActionSupport class just call the "getLocale()" method.

Regarding the "pageUrl" parameter, can you start with a simple
example? Or maybe post your struts.xml plus an action's class?



Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to