Skip to content

mime type tag reference

novalexei edited this page Nov 10, 2016 · 3 revisions

####<mime-type>

Specifies the MIME type in a <mime-mapping> element.

The value should be specified in lower case, as with all MIME types.

Example:

<!-- Send PQZ files as application/octet-stream --> 
<!-- So the user is asked to download the file --> 
<mime-mapping> 
    <extension>pqz</extension> 
    <mime-type>application/octet-stream</mime-type> 
</mime-mapping>

To web.xml reference page