tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thierry Templier <temp...@yahoo.fr>
Subject Re: mojk and utf8 charset problem
Date Mon, 02 May 2011 13:37:17 GMT
Hello André,

After having disabled compression at Apache level, things change a bit since now content from
database is correctly displayed using JSTL (<c:out value="(...)" escapeXml="false"/>)
but it's still not the case for content of JSP pages. I have however that at the beginning
of JSP pages: <%@page language="java" contentType="text/html; charset=UTF-8"%>.

Thierry

> It seems unlikely that it would be the compression that
> causes the problem.
> Content encoding is only supposed to be used during the
> transport from the server to the browser.  So it is
> applied last at the server (Apache) side, and removed first
> at the browser side, before interpreting the content.
> But just in case, it should be easy to disable, if even
> just for a test.
> 
> Under Ubuntu, you may try the command "a2dismod deflate" to
> disable the filter.
> Or if that does not work, have a look here to modify your
> configuration :
> http://httpd.apache.org/docs/2.2/mod/mod_deflate.html
> 
> I believe Ubuntu is similar to Debian.  If so, then
> the setup of the mod_deflate filter may be in a file like
> /etc/apache2/mods-available/deflate.conf

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message