hi all,
I'm tearing my hair off with the locale value
of the servlet container.
I'm using tomcat4.1.18 on linux mandrake.
the machine is configured on french language.
I'm suprised to get the us(instead of fr) locale on my web applications.
I've written a servlet to test the user locale variable and
the container local variable.
Here is the code to retrieve the user preferred locale
and the container locale variable.
Locale preferredLocale = request.getLocale();
out.println("<p>The user's preffered Locale is " + preferredLocale +
"</p>");
// Get the container's default locale
Locale servletContainerLocale = Locale.getDefault();
the first line give me fr while the second gives me us.
Can someone tells me where to set default locale value of the container.
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.