I want to send the output of my JSPs as "application/xhtml+xml" in UTF-8.
All the pages I send are XHTML in UTF-8, but the browsers can't understand
them because Tomcat (Apache-Coyote/1.1, the one bundled with JBoss 3.2.5)
set Content-Type to text/html without any encoding information.
I tried to put
<mime-mapping>
<extension>jsp</extension>
<mime-type>application/xhtml+xml</mime-type>
</mime-mapping>
in web.xml, but this directive seems to be ignored... (how can I test this?)
Also I can't find how to tell Tomcat that the JSP output should be declared
as UTF-8 encoded.
[I know that I can add
<%@(protected)" %>
<%@(protected)" %>
to all my pages, but I'd like to avoid this...]
--
Gioele
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)