tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Tomcat 4.1.18
Date Fri, 17 Jan 2003 15:03:53 GMT
Howdy,
Perhaps this will shed some light.  See Issue 1 at
http://www.jcp.org/aboutJava/communityprocess/maintenance/jsr053/errata_
1_2_a_20020321.html

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Daniel Bruce Lynes [mailto:dlynes@shaw.ca]
>Sent: Thursday, January 16, 2003 11:38 PM
>To: Tomcat Users List
>Subject: Tomcat 4.1.18
>
>I'm currently having a small problem with Tomcat 4.1.18, which didn't
exist
>in
>Tomcat 4.0.4.
>
>The problem can be illustrated with a one liner JSP:
>
><%@ page contentType="text/html" %>
>
>This one line spits out an HTTP header of Content-Type: text/html on
Tomcat
>4.0.4
>
>However, under 4.1.18, the following is spit out:
>
>Content-Type: text/html;charset=ISO-8859-1
>
>I need the former behaviour because these pages need to handle both
GB2312-
>80
>and ISO-8859-1.  As such, I cannot have the character set explicitly
set,
>and
>it also cannot be dynamically generated.  The locale information is
>determined when the <head></head> information is output, using a
taglib.
>By
>that time, the page directive has already been issued.  Also, the
>contentType
>field in the page directive cannot be dynamic from what I've been able
to
>determine. (Tomcat 3.xx)  Has this behaviour changed in 4.0.x/4.1.x?
>
>Thanks.
>
>Daniel
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-
>help@jakarta.apache.org>


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


Mime
View raw message