tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry<dim...@teztour.com>
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,
 Dmitry                      mailto:dimmik@teztour.com


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


Mime
View raw message