[prev in list] [next in list] [prev in thread] [next in thread]
List: tomcat-user
Subject: Re: How to remove "charset" from tomcat response?
From: Mark Thomas <markt () apache ! org>
Date: 2005-08-30 17:46:08
Message-ID: 43149B60.60901 () apache ! org
[Download RAW message or body]
Dmitry wrote:
> 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.
If you use JSPs, there will always be a charset as per section JSP.4.2
of the JSP 2.0 spec.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic