At present i'm developing a project in which i'm having the following requirement. In my project i need to disply the labels and messages in different languages based on the users preffered language.I am getting user's language from the database when he/she is logged in. Then i hav to display the messages in corresponding languages.
your case needs a few additional steps... 1. you need to manually set the locale explicitly (using Filter or extend the ActionServlet or something else - if there's a single entry point in your app, then you can call this inside your Action) by
2. your html template should have <html:html locale="true">
3. if you use JSTL fmt:message instead of bean:message , you'll need to have this as well
-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>