This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts2 can not change locale Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 can not change locale" Watch "Struts2 can not change locale" New topic

Struts2 can not change locale

java voyager

Joined: Apr 14, 2009
Posts: 2
Hi everybody,
i have the following problem: i want to change the language from EN to DE in my project. When i set this

it works but only when i have an action url for example /registration.action. But i can not solve the problem when i have jsp url like /index.jsp.

There i can not make the language to be DE and the index.jsp is always shown in EN language. Can anyone advice me how to do it?

thanks in advance!
I agree. Here's the link:
subject: Struts2 can not change locale
Similar Threads
Internationalization ApplicationRessources
Override request headers
dojotoolkit i18n in struts 2
JSTL formating is not working after setting the locale