-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Max,

maxt wrote:
> Is there anything about an install of JRE or Tomcat that is inherently
> Region based?

I don't believe so. Your JRE will have a default locale that it picks
based upon some voodoo with your operating system, etc. For instance,
I'm in the US, to it defaults to en_US. I would imagine that yours would
default to en_AU since you are (??) in Australia.

If you change your user prefs to another language or locale, I would
imagine that any new JVMs that you start up would use the new locale.

I would also imagine that if you ran Tomcat as a service, that the user
who runs the service has their own locale which is different from your
user's locale. That was probably set during OS installation, but is
probably changeable somehow.

> eg, Do I need to reinstall Tomcat or JRE when my region is US?

That doesn't seem likely.

> It was AU when installed. In other words, was the Region change
> totally effective when these apps were initially installed with a AU
> Region?

Run this code to see all of the JVM settings, including the locale:

public class Env
{
    public static void main(String[] args)
    {
        System.getProperties().list(System.out);
    }
}

Look at the "user.language" and "user.country" properties. Together, I
believe that these define the default locale for the VM. If you want to
load resource bundles with different locales, you'll need to detect the
locale however you want (including simply flat-out asking the user), and
then load the appropriate bundle.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFURZ19CaO5/Lv0PARAr1PAJ9CXn3PL9X5aQnYRD4OvgZrYReVjgCeKrzx
XF7+dthb6o9d+x4Nmlp34ow=
=qVPL
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to