Le 17 nov. 05, à 20:24, Mark Lundquist a écrit :


...Hi, I need to be able to override the default locale for a Cocoon application (note, I'm not referring to client localization). How do I do this? Is it a server thing, or a servlet container thing? (I'm using Jetty...)

Depending on your VM, you can do this using the user.language and related system properties, from the JVM command line, for example:

  java -Duser.language=fr -Duser.country=CA ...

see http://java.sun.com/developer/technicalArticles/J2SE/locale/

-Bertrand

Attachment: smime.p7s
Description: S/MIME cryptographic signature