On 11/14/2003 04:08 PM Bryan Field-Elliot wrote:
When I call from a Servlet:

response.setContentType("text/xml");

Tomcat changes the header to read:

Content-Type: text/xml;charset=ISO-8859-1

The ;charset is killing us interoping with another vendor and they can't
change their code. I've tried:

response.setLocale(null);

but it bombs Tomcat.

This is Tomcat 4.1.29.

Any help would be appreciated.

Bryan,
I think that the servlet spec from Sun specifies that the default charset should be iso-8859-1.


Are you trying to keep the charset= name/value pair completely out of the content-type header? I don't think it works that way basically.

Adam
--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to