Webコンテナでは、以下のmimeタイプの値がデフォルトで定義されています。
Webアプリケーション独自のmimeタイプを使用する場合は、Web application deployment descriptor(web.xml)で設定可能です。
拡張子 | MIMEタイプ | 拡張子 | MIMEタイプ | 拡張子 | MIMEタイプ |
---|---|---|---|---|---|
abs | audio/x-mpeg | js | text/javascript | shar | application/x-shar |
ai | application/postscript | kar | audio/x-midi | sit | application/x-stuffit |
aif | audio/x-aiff | latex | application/x-latex | smf | audio/x-midi |
aifc | audio/x-aiff | m3u | audio/x-mpegurl | snd | audio/basic |
aiff | audio/x-aiff | mac | image/x-macpaint | src | application/x-wais-source |
aim | application/x-aim | man | application/x-troff-man | sv4cpio | application/x-sv4cpio |
art | image/x-jg | mathml | application/mathml+xml | sv4crc | application/x-sv4crc |
asf | video/x-ms-asf | me | application/x-troff-me | svg | image/svg+xml |
asx | video/x-ms-asf | mid | audio/x-midi | svgz | image/svg+xml |
au | audio/basic | midi | audio/x-midi | swf | application/x-shockwave-flash |
avi | video/x-msvideo | mif | application/x-mif | t | application/x-troff |
avx | video/x-rad-screenplay | mov | video/quicktime | tar | application/x-tar |
bcpio | application/x-bcpio | movie | video/x-sgi-movie | tcl | application/x-tcl |
bin | application/octet-stream | mp1 | audio/x-mpeg | tex | application/x-tex |
bmp | image/bmp | mp2 | audio/x-mpeg | texi | application/x-texinfo |
body | text/html | mp3 | audio/x-mpeg | texinfo | application/x-texinfo |
cdf | application/x-cdf | mpa | audio/x-mpeg | tif | image/tiff |
cer | application/x-x509-ca-cert | mpe | video/mpeg | tiff | image/tiff |
class | application/java | mpeg | video/mpeg | tr | application/x-troff |
cpio | application/x-cpio | mpv2 | video/mpeg2 | tsv | text/tab-separated-values |
csh | application/x-csh | ms | application/x-wais-source | txt | text/plain |
css | text/css | nc | application/x-netcdf | ulw | audio/basic |
dib | image/bmp | oda | application/oda | ustar | application/x-ustar |
doc | application/msword | ogg | application/ogg | xbm | image/x-xbitmap |
docm | application/vnd.ms-word.document.macroEnabled.12 | pbm | image/x-portable-bitmap | xml | application/xml |
docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | pct | image/pict | xpm | image/x-xpixmap |
dtd | application/xml-dtd | application/pdf | xsl | application/xml | |
dv | video/x-dv | pgm | image/x-portable-graymap | xslt | application/xslt+xml |
dvi | application/x-dvi | pic | image/pict | xwd | image/x-xwindowdump |
eps | application/postscript | pict | image/pict | vsd | application/x-visio |
etx | text/x-setext | pls | audio/x-scpls | vxml | application/voicexml+xml |
exe | application/octet-stream | png | image/png | wav | audio/x-wav |
gif | image/gif | pnm | image/x-portable-anymap | wbmp | image/vnd.wap.wbmp |
gk | application/octet-stream | pnt | image/x-macpaint | wml | text/vnd.wap.wml |
gtar | application/x-gtar | ppm | image/x-portable-pixmap | wmlc | application/vnd.wap.wmlc |
gz | application/x-gzip | ppt | application/powerpoint | wmls | text/vnd.wap.wmls |
hdf | application/x-hdf | pptm | application/vnd.ms-powerpoint.presentation.macroEnabled.12 | wmlscriptc | application/vnd.wap.wmlscriptc |
hqx | application/mac-binhex40 | pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation | wrl | x-world/x-vrml |
htc | text/x-component | ps | application/postscript | xht | application/xhtml+xml |
htm | text/html | psd | image/x-photoshop | xhtml | application/xhtml+xml |
html | text/html | qt | video/quicktime | xls | application/vnd.ms-excel |
hqx | application/mac-binhex40 | qti | image/x-quicktime | xlsm | application/vnd.ms-excel.sheet.macroEnabled.12 |
ico | image/x-icon | qtif | image/x-quicktime | xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
ief | image/ief | ras | image/x-cmu-raster | xul | application/vnd.mozilla.xul+xml |
jad | text/vnd.sun.j2me.app-descriptor | rdf | application/rdf+xml | Z | application/x-compress |
jar | application/java-archive | rgb | image/x-rgb | z | application/x-compress |
java | text/plain | rm | application/vnd.rn-realmedia | zip | application/zip |
jnlp | application/x-java-jnlp-file | roff | application/x-troff | odp | application/x-vnd.oasis.opendocument.presentation |
jpe | image/jpeg | rtf | application/rtf | odt | application/x-vnd.oasis.opendocument.text |
jpeg | image/jpeg | rtx | text/richtext | ods | application/x-vnd.oasis.opendocument.spreadsheet |
jpg | image/jpeg | sh | application/x-sh | odg | application/x-vnd.oasis.opendocument.graphics |