| Author |
Struts 2 i18n problem
|
debraj mallick
Ranch Hand
Joined: Mar 08, 2011
Posts: 188
|
|
Hi all,
I am trying to implement i18n into my project, below is the code
in struts.xml
in jsp pages
global.properties
global.properties
my problem is when i click to change my language, the language is changed but i come to login.jsp, please suggest me how can i return to the page where i was before,
also how can i store the local information about a user ( in database), so that whenever the user comes (or login) he/she don't have to set the language.
|
 |
debraj mallick
Ranch Hand
Joined: Mar 08, 2011
Posts: 188
|
|
I have solve the problem, action in s:url should be changed on every jsp page like action="login" or action="processCheckin"
so when i click the link to change language, i am not coming to login.jsp (every time)
|
 |
 |
|
|
subject: Struts 2 i18n problem
|
|
|