tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marx, Mitchell E (Mitch), ALCNS" <mm...@att.com>
Subject having to use HttpServletResponse.setContentType
Date Wed, 23 Jan 2002 20:11:12 GMT

Configuration: Solaris 2.6, Apache 1.3.20, mod_jk 3.3, Tomcat 3.2.3

In migrating an application from JavaWebServer/WebLogic, it seems that
servlets that extend from HttpServlet need to have 

	setContentType("text/html");

when running under Tomcat, but did not under the previous web servers.
Otherwise, they are served as "text/plain" and Netscape 4.76 shows the
HTML as text, instead of rendered HTML.

Is this a feature or a misconfiguration on my part?

Mitchell Evan Marx        mmarx@att.com
AT&T IP Network Configuration & Provisioning Development

--
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