Hi,
>pdf , I get the impression that this should be doable for my entire
web-app
>via the web.xml, i.e. its "locale-encoding-mapping" attributes. I tried
>this
>in many variants (details in
>http://issues.apache.org/bugzilla/show_bug.cgi?id=32296), but with no
>success.
>Reading the mailing-list,
And if, for example, you have a UK-en application hosted in a data
centre in Germany...
Drew Sudell wrote:
Yes, but this is an per-instance attribute, isn't it? How could I
make it be set in all f Tomcat's VMs?
Maybe a java "-D" option?
On Thu, 2003-02-27 at 14:38, Jon Wingfield wrote:
via
> Yes, but this is an per-instance attribute, isn't it? How could I
>make it be set in all f Tomcat's VMs?
> Maybe a java "-D" option?
>
> On Thu, 2003-02-27 at 14:38, Jon Wingfield wrote:
> > via a static method on java.util.Locale. In your case the Locale call=20
>> will be
> > Locale.setDef
java -Duser.language=pt -Duser.region=BR
Which is Portuguese/Brazil
java -Duser.language=br -Duser.region=PT
Which is Breton/Portugal
Quoting Felipe Schnack <[EMAIL PROTECTED]>:
> So
> java _Duser.country=pt_BR?
>
> On Thu, 2003-02-27 at 15:23, Kris Schneider wrote:
> > You can try settin
So
java _Duser.country=pt_BR?
On Thu, 2003-02-27 at 15:23, Kris Schneider wrote:
> You can try setting the user.language and user.region system properties at
> startup. Where user.region can be country, country_variant, or _variant.
>
> Quoting Felipe Schnack <[EMAIL PROTECTED]>:
>
> > Yes
You can try setting the user.language and user.region system properties at
startup. Where user.region can be country, country_variant, or _variant.
Quoting Felipe Schnack <[EMAIL PROTECTED]>:
> Yes, but this is an per-instance attribute, isn't it? How could I
> make it be set in all f Tomcat's
Yes, but this is an per-instance attribute, isn't it? How could I
make it be set in all f Tomcat's VMs?
Maybe a java "-D" option?
On Thu, 2003-02-27 at 14:38, Jon Wingfield wrote:
> via a static method on java.util.Locale. In your case the Locale call
> will be
> Locale.setDefault(new Locale
via a static method on java.util.Locale. In your case the Locale call
will be
Locale.setDefault(new Locale("br", "PT"));
You may also want to set the TimeZone in a similar manner.
Felipe Schnack wrote:
How can i set the default locale of my application? There is a system
property to do that? I
Title: RE: Locale
It's not that. Some properties file is missing. I have JAVA_HOME and TOMCAT_HOME set correctly.
You don't need ANT_HOME to run tomcat. Ant is a build tool.
Jayesh
-Original Message-
From: Jayesh [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, January
This looks depressingly familiar, although it was slightly different on
Solaris so it *might* not be the same problem I had.
Do you have j2ee.jar in the classpath? If so then that is most likely the
problem, the copy of the tomcat classes within j2ee.jar will make your life
a misery for as long
Its simply the problem with Classpath or Environment variables
Make sure you set
1) JAVA_HOME=
2) TOMCAT_HOME=
3) ANT_HOME=
CLASSPATH= and other jars
and export all these variables
I guess It would work then
> --
> From: Jayesh[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL
11 matches
Mail list logo