JSPs don't seem to be setting the Content-Type header correctly. Have attached a patch that adds the missing 'charset=' string to the content-type value.
thx, arvind GET /foo.jsp HTTP/1.0 HTTP/1.1 200 OK Content-Type: text/html;ISO-8859-1 Connection: close Date: Mon, 24 Jun 2002 02:07:50 GMT Server: Apache Tomcat/4.0.4-dev (HTTP/1.1 Connector) Set-Cookie: JSESSIONID=F2343A7E566549F42027165B1896184E;Path=/ <html> </html>
Index: JspParseEventListener.java =================================================================== RCS file: /home/cvspublic/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/JspParseEventListener.java,v retrieving revision 1.33.2.5 diff -u -r1.33.2.5 JspParseEventListener.java --- JspParseEventListener.java 21 May 2002 01:46:40 -0000 1.33.2.5 +++ JspParseEventListener.java 24 Jun 2002 02:12:33 -0000 @@ -361,7 +361,7 @@ // Per errata_a, determine the default output content type if (servletContentType == null) { - servletContentType = defaultType + + servletContentType = defaultType + "charset=" + ((pageEncoding == null)? defaultCharset: pageEncoding); } writer.println("response.setContentType("
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>