1 Reply Latest reply on Dec 19, 2001 8:37 AM by lbroudoux

    How to add new MIME type

    ups2000

      How to add new MIME type to JBoss-Tomcat3.2.3?
      I know that In Apache, the preceding MIME types should be added to the httpd.conf file.
      Thanks

        • 1. Re: How to add new MIME type
          lbroudoux

          Hello,

          to make Tomcat able to serve new mime-type files, just
          add a new <mime-mapping> section in ./conf/web.xml
          file under jakarta-tomcat root.

          See following example with WML mime type:

          <mime-mapping>
          wml
          <mime-type>text/vnd.wap.wml</mime-type>
          </mime-mapping>

          Regards,

          Laurent