martedì 14 aprile 2015

Set Tomcat default locale

To set default Locale in Tomcat you should edit the file found in the "bin" directory of Tomcat installation.

Look for something like:

At the end of the JAVA_OPTS definitions add (for Enligh):
-Duser.language=en -Duser.region=EN

You'll get something like:
JAVA_OPTS="$JAVA_OPTS -Duser.language=it -Duser.region=IT"

Nessun commento:

Posta un commento

Cerca su Google

Cerca nel Blog con Google