Have french characters in web application properties (this howto is deprecated)Tag(s): DEPRECATED


Jaguar has difficulties to parse a web.xml containing french characters (like é). An error from the XML parser is thrown saying that some illegal characters are found.

In theory, we should be able to change the encoding of the XML file, but the current XML parser used by Jaguar doesn't seem to support that. The trick is to replace the french character by entities.

First, unzip the web.xml file in a subdirectory called WEB-INF (in uppercase).

Where you have property like

<env-entry-value>propriété</env-entry-value>
replace by
<env-entry-value>propri&#233;t&#233;</env-entry-value>
Re-zip WEB-INF\web.xml into JAR, then should be able to deploy the JAR in Jaguar.

The possible values are :


blog comments powered by Disqus