If you look in /etc/tomcat4 you'll see a tomcat4.conf file that contains
various environment settings.  This file gets sourced by
/etc/init.d/tomcat4, which is used to start Tomcat (at least on Redhat).

I can send you copies of tomcat4 and tomcat4.conf if you like.


Ian

Ian D. Stewart
Open Systems Engineer II
Enterprise Midrange - Bank One Infrastructure & Operations
[EMAIL PROTECTED]
(614) 213-6100




[EMAIL PROTECTED] on 08/28/2003 10:48:15 AM

Please respond to "Struts Users Mailing List"
      <[EMAIL PROTECTED]>

To:   "Struts Users Mailing List" <[EMAIL PROTECTED]>
cc:

Subject:  Réf. : Re:  Réf. : Re: user local confusion




Ian,
I suppose you mean the server.xml file.
I don't have any tomcat4.conf file.
I'm using tomcat 4.1.18.

Meissa




[EMAIL PROTECTED]
28/08/2003 16:32
Veuillez répondre à "Struts Users Mailing List"


        Pour :  "Struts Users Mailing List"
<[EMAIL PROTECTED]>
        cc :
        Objet : Re:  Réf. : Re: user local confusion




In your tomcat4.conf (I'm assuming Linux here), ensure that the line

     LANG=en_US

is commented out.  It's near the bottom of the conf file, right after
TOMCAT_USER.


HTH,
Ian

Ian D. Stewart
Open Systems Engineer II
Enterprise Midrange - Bank One Infrastructure & Operations
[EMAIL PROTECTED]
(614) 213-6100




[EMAIL PROTECTED] on 08/28/2003 10:17:13 AM

Please respond to "Struts Users Mailing List"
      <[EMAIL PROTECTED]>

To:   "Struts Users Mailing List" <[EMAIL PROTECTED]>
cc:

Subject:  Réf. : Re: user local confusion




that's what we did.
and when try to retrieve the user's prefered local by
calling Locale preferredLocale = request.getLocale();
I get fr
while the container's(given by  servletContainerLocale = Locale.getDefault
();) default locale is in us.

why is there a diff beetween the default user and the container locale.
can someone tells me where i could change this.

any help would be greetly apreciated.
Meissa




[EMAIL PROTECTED]
28/08/2003 14:43
Veuillez répondre à "Struts Users Mailing List"


        Pour :  "Struts Users Mailing List"
<[EMAIL PROTECTED]>
        cc :
        Objet : Re: user local confusion




I suspect Tomcat get's the default locale from the Java runtime, which in
turn gets it from the operating system it is running on (e.g., on UNIX set
LANG=fr (or whatever)).


HTH,
Ian

Ian D. Stewart
Open Systems Engineer II
Enterprise Midrange - Bank One Infrastructure & Operations
[EMAIL PROTECTED]
(614) 213-6100




[EMAIL PROTECTED] on 08/28/2003 08:22:04 AM

Please respond to "Struts Users Mailing List"
      <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:

Subject:  user local confusion




hi all,

I apologize in advance to ask this question that may look off topic.

I have a problem with the Local parameter.

I'm using tomcat 4.1.18 and I would like to know
where to set the container default locale value.

i know this question should be asked to tomcat users.
But I have no answer ...

if someone knows.

thanks in advance

Meissa


L'integrite de ce message n'etant pas assuree sur internet, Natexis
Banques Populaires ne peut etre tenu responsable de
son contenu. Toute utilisation ou diffusion non autorisee est
interdite. Si vous n'etes pas destinataire de ce message, merci de le
detruire et d'avertir l'expediteur.

The integrity of this message cannot be guaranteed
on the Internet. Natexis Banques Populaires can not therefore be
considered responsible for the contents.Any unauthorized use or
dissemination is prohibited.
If you are not the intended recipient of this message, then please delete
it and
notify the sender.








This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this
transmission in error, please immediately contact the sender and destroy
the material in its entirety, whether in electronic or hard copy format.
Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





L'integrite de ce message n'etant pas assuree sur internet, Natexis
Banques Populaires ne peut etre tenu responsable de
son contenu. Toute utilisation ou diffusion non autorisee est
interdite. Si vous n'etes pas destinataire de ce message, merci de le
detruire et d'avertir l'expediteur.

The integrity of this message cannot be guaranteed
on the Internet. Natexis Banques Populaires can not therefore be
considered responsible for the contents.Any unauthorized use or
dissemination is prohibited.
If you are not the intended recipient of this message, then please delete
it and
notify the sender.








This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this
transmission in error, please immediately contact the sender and destroy
the material in its entirety, whether in electronic or hard copy format.
Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





L'integrite de ce message n'etant pas assuree sur internet, Natexis
Banques Populaires ne peut etre tenu responsable de
son contenu. Toute utilisation ou diffusion non autorisee est
interdite. Si vous n'etes pas destinataire de ce message, merci de le
detruire et d'avertir l'expediteur.

The integrity of this message cannot be guaranteed
on the Internet. Natexis Banques Populaires can not therefore be
considered responsible for the contents.Any unauthorized use or
dissemination is prohibited.
If you are not the intended recipient of this message, then please delete
it and
notify the sender.








This transmission may contain information that is privileged, confidential and/or 
exempt from disclosure under applicable law. If you are not the intended recipient, 
you are hereby notified that any disclosure, copying, distribution, or use of the 
information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. 
If you received this transmission in error, please immediately contact the sender and 
destroy the material in its entirety, whether in electronic or hard copy format. Thank 
you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to