You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Brian Dixon <bd...@regenstrief.org> on 2002/11/21 21:40:04 UTC

MIME Types Registration for Tomcat 3.3.1-4

I saw the post appended to this message on the archive list, but not
replies to it.  I would like to pose the same question.  Namely, how
does one specify MIME-types in Tomcat 3.3.1-4 standalone?  I cannot find
a web.xml file anywhere on my web server.

Thanks,
Brian

--------------------
Brian Dixon
Regenstrief Institute, Inc.
Indiana University Medical Center
1050 Wishard Blvd.
Indianapolis, IN 46202
(317) 630-8822
Web: www.regenstrief.org
Email: bdixon@regenstrief.org
 
"Human creativity multiplied by the computing power of super-recursive
devices and algorithms will cause the real revolution in information
technology and in our lives." - Mark Burgin

------------------------------Original
Message--------------------------------------------------------------
Hi all,

  I want to set mime-type in tomcat 3.3.  However, I can't find the
web.xml under $TOMCAT_HOME/conf (there is a default web.xml under
$TOMCAT_HOME/conf for tomcat 3.2).  Also I can't find any document
about setting mime-type in tomcat 3.3.  Where to set mime-type in
order to make tomcat works?  Anyway example of web.xml format?

Rgds,
unplug


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


Re: MIME Types Registration for Tomcat 3.3.1-4

Posted by Bill Barker <wb...@wilshire.com>.
Unfortunately, this is something that got left out of the configuration for
3.3.  As a result, there are only two ways to do this at the moment:

1) Add the <mime-mapping>s to all of your web.xml files.
2) Edit o.a.t.u.http.MimeMap, and re-compile.

It would be nice to add back this to the config for 3.3.2.

"Brian Dixon" <bd...@regenstrief.org> wrote in message
news:001401c2919e$2c32c420$4a011fac@bdixon...
> I saw the post appended to this message on the archive list, but not
> replies to it.  I would like to pose the same question.  Namely, how
> does one specify MIME-types in Tomcat 3.3.1-4 standalone?  I cannot find
> a web.xml file anywhere on my web server.
>
> Thanks,
> Brian
>
> --------------------
> Brian Dixon
> Regenstrief Institute, Inc.
> Indiana University Medical Center
> 1050 Wishard Blvd.
> Indianapolis, IN 46202
> (317) 630-8822
> Web: www.regenstrief.org
> Email: bdixon@regenstrief.org
>
> "Human creativity multiplied by the computing power of super-recursive
> devices and algorithms will cause the real revolution in information
> technology and in our lives." - Mark Burgin
>
> ------------------------------Original
> Message--------------------------------------------------------------
> Hi all,
>
>   I want to set mime-type in tomcat 3.3.  However, I can't find the
> web.xml under $TOMCAT_HOME/conf (there is a default web.xml under
> $TOMCAT_HOME/conf for tomcat 3.2).  Also I can't find any document
> about setting mime-type in tomcat 3.3.  Where to set mime-type in
> order to make tomcat works?  Anyway example of web.xml format?
>
> Rgds,
> unplug





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