tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18902] - Content Type set to "text/plain" when none explicitly assigned in the servlet
Date Wed, 23 Jul 2003 18:00:44 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18902>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18902

Content Type set to "text/plain" when none explicitly assigned in the servlet





------- Additional Comments From jenny@bigbrother.net  2003-07-23 18:00 -------
In this case, apache's default type is completely ignored, because Tomcat has 
already set one, and it's text/plain.  I set up my apache config with a system-
wide default type of text/html to try to fix it, but it's never used.  Tomcat 
has already given it text/plain thus Apache doesn't get a chance.

It would have been nice if Tomcat left it empty and allowed the Apache config 
to affect it - in that case, I could have configured the default type per 
virtual host (which is how I already had it set up from Tomcat 3).  This broke 
when I moved to Tomcat 4.  It was no longer left unset.

Additionally Tomcat doesn't seem to have a config option to let you change its 
default from a config file.  Too bad there too.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message