You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by James Anderson <ja...@corda.com> on 2006/04/11 17:56:00 UTC

RE: MIME type gets set as text/plain in Custom web app using Apache and Jakarta Connector

I have a custom web app that is a java servlet that I run on Tomcat.
When I browse to the page it displays as text/html which is great but I
am using Apache as the front-end app server so I use the Jakarta Tomcat
connector in Apache to connect to Tomcat. When I browse to the page
through the Tomcat connector it displays as text/plain and Firefox and
other browsers that use the Mime type display the code as text and do
not render it.  Somewhere between Apache and the Tomcat Connector the
Mime type is getting changed.  The extension that I am using is a
dashxml and the content is XML

 

Any help would be appreciated.

 

James A