tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Schnack <feli...@ritterdosreis.br>
Subject Re: locale
Date Thu, 27 Feb 2003 18:31:08 GMT
  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 <felipes@ritterdosreis.br>:
> 
> >   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("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 can't find it anywhere, and need to set mine to
> > > >pt-BR locale.
> > > >
> > > >  
> > > >
> > > 
> > > 
> > > 
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > > 
> > -- 
> > 
> > Felipe Schnack
> > Analista de Sistemas
> > felipes@ritterdosreis.br
> > Cel.: (51)91287530
> > Linux Counter #281893
> > 
> > Centro Universitário Ritter dos Reis
> > http://www.ritterdosreis.br
> > ritter@ritterdosreis.br
> > Fone/Fax.: (51)32303341
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > 
> 
> 
> -- 
> Kris Schneider <mailto:kris@dotech.com>
> D.O.Tech       <http://www.dotech.com/>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
-- 

Felipe Schnack
Analista de Sistemas
felipes@ritterdosreis.br
Cel.: (51)91287530
Linux Counter #281893

Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
ritter@ritterdosreis.br
Fone/Fax.: (51)32303341


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message