RE: locale-encoding-mapping not working?

2004-11-30 Thread Shapira, Yoav
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,

Re: locale

2003-02-28 Thread Jon Wingfield
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

Re: locale

2003-02-27 Thread Drew Sudell
> 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

Re: locale

2003-02-27 Thread Kris Schneider
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

Re: locale

2003-02-27 Thread Felipe Schnack
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

Re: locale

2003-02-27 Thread Kris Schneider
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

Re: locale

2003-02-27 Thread Felipe Schnack
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

Re: locale

2003-02-27 Thread Jon Wingfield
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

RE: Locale

2001-01-24 Thread Parayali, Jayesh 1065
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

RE: Locale

2001-01-24 Thread Hughes, Nick
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

RE: Locale

2001-01-24 Thread Deepak C S
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