## How can I add MIME types?

Each HttpContext has a MIME type mapping. Server-wide default MIME types are set in the org/mortbay/http/mime.properties file within the org.mortbay.jetty.jar file. Theses may be added to or replaced by entries in the WebDefaults.xml file.

For WebApplicationContexts, additional MIME type mappings can be added in the web.xml file:

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

To configure the MIME mapping from a jetty.xml file:
``

    <Call name="addContext">
      ...
      <Call name="setMimeMapping" >
        <Arg>ext</Arg>
        <Arg>your/type</Arg>
      </Call>
      ...

JettyFaq