tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirby Vandivort <>
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:          3051 Beckman Institute    University of Illinois
Phone: (217) 244-5711                405 N. Mathews Ave
Fax  : (217) 244-6078                Urbana, IL  61801, USA

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message