tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry<>
Subject How to remove "charset" from tomcat response?
Date Tue, 30 Aug 2005 06:29:42 GMT
Hello Tomcat,

I am trying to return an XML with content-type "text/xml"
Without any charset specified in header.

I set <%@page contentType="text/xml"%> in my jsp, expecting header
Content-Type: text/xml

But despite the page directive given I have header
Content-Type: text/xml;charset=ISO-8859-1

Is it possible to avoid "charset=..." clause?
Tomcat 5.5.9 on Windows.


Best regards,

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

View raw message