tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: locale-encoding-mapping not working?
Date Tue, 30 Nov 2004 15:49:22 GMT


>pdf , I get the impression that this should be doable for my entire
>via the web.xml, i.e. its "locale-encoding-mapping" attributes. I tried
>in many variants (details in
>, but with no
>Reading the mailing-list, it appears that others were not successful
>Therefore my question - did anybody manage to have such attributes show

This might be an issue.  I haven't played with it myself.  It'd be great
if you could come up with a minimal simple WAR that illustrates the
problem, and attach that to a Bugzilla issue you can open.

>One speculation from my part is that the defaults for the character
>encodings are present hard-coded at least twice in the code and even if
>web.xml gets processed, it gets overwritten afterwards again:
> - has it and
> - as well
>Couldn't this redundancy be a source of errors?

The redundancy itself is not optimal, but not a source of errors.  The
hard-coding is fine for the default mapping as that's defined by the
Spec.  But if you could point out the place in the code where you think
the locale-encoding-mapping is being overwritten, and demonstrate it in
the above mentioned WAR, that'd be helpful.


Yoav Shapira

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message