You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Garrett Smith <ja...@yahoo.com> on 2002/11/11 07:14:42 UTC

Did default content-type change between tc 4.0 to 4.1?

Hello,

Two part question:

1. Is text/html still the default content-type? 
2. If so, then why must I explicitly use response.setContentType("text/html")
to avoid seeing html source in the browser? 

Problem: server sends out text/plain header for jsp documents that are included
with a RequestDispatcher.


Garrett


=====
http://dhtmlkitchen.com/
JSP | Servlets | DHTML 

Garrett Needs A Job

__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>