Re: Regarding Localization Can't Change in Struts2

2008-02-26 Thread Laurie Harper
It still seems like the most likely cause is the login interceptor invoking navigation (esp. via a redirect) before the locale switch can happen. Have you tried (temporarily) commenting out the login interceptor from your defaultinterceptor stack? What about moving it down the stack (i.e.

Re: Regarding Localization Can't Change in Struts2

2008-02-26 Thread sagarlotiya
hi Thanks for your help but finally i have found the solution and it is following I have just put the interceptor-ref name=i18n / before my login interceptor and it works fine. Laurie Harper wrote: It still seems like the most likely cause is the login interceptor invoking navigation

Re: Regarding Localization Can't Change in Struts2

2008-02-22 Thread Dave Newton
--- sagarlotiya [EMAIL PROTECTED] wrote: When i will try to change locale without login it don't work. But once i will login in to the application i can change the locale. I am using Interceptor for login validation , does it creates any problems.? Hard to say. You haven't really provided

Re: Regarding Localization Can't Change in Struts2

2008-02-22 Thread sagarlotiya
hi you are right? Let me describe the problem in detail. i have one application in struts2. I have made one interceptor that is called Login Interceptor in that i am checking for whether user is valid or not If valid then i will allow them to login otherwise redirect back that user to login

Re: Regarding Localization Can't Change in Struts2

2008-02-22 Thread Laurie Harper
Still not enough information to say for sure, but: login otherwise redirect back that user to login page... ... i am passing request_locale paramter in url you realize that a redirect will lose the request parameter, right? If that isn't the clue you're looking for, post some configuration:

Re: Regarding Localization Can't Change in Struts2

2008-02-22 Thread sagarlotiya
Hi My login jsp file contains only form which includes the username and password text field nothing else. Here i am pasting of my stack for Interceptor... I have struts.xml file in that i have included my authentication.xml the content of authentication.xml file is following... struts