tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirby Vandivort <kvand...@ks.uiuc.edu>
Subject Location of Content-type: text/html
Date Wed, 06 Feb 2002 20:37:51 GMT
I am trying to track down a big in the way that some HTML is getting
displayed, and I've noticed a small difference between apache and tomcat
and I was wondering if it is important..

Tomcat returns:

HTTP/1.1 200 OK
Content-Type: text/html
Date: Wed, 06 Feb 2002 20:31:22 GMT
Server: Apache Tomcat/4.0.1 (HTTP/1.1 Connector)
Connection: close
                     

where apache returns:

HTTP/1.1 200 OK
Date: Wed, 06 Feb 2002 20:34:36 GMT
Server: Apache/1.3.12 (Unix) DAV/1.0.2 PHP/4.0.0 mod_ssl/2.6.3 OpenSSL/0.9.5a
Connection: close
Content-Type: text/html   

Note that the content-type is showing up in different locations.

I'm trying to send this html to a JEditorPane, and I'm wondering if
it is being extremely picky about where the content-type is showing up.

-- 

Kirby Vandivort                      Theoretical Biophysics Group
Email: kvandivo@ks.uiuc.edu          3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/    University of Illinois
Phone: (217) 244-5711                405 N. Mathews Ave
Fax  : (217) 244-6078                Urbana, IL  61801, USA

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message