Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7068438
  • 博文数量: 702
  • 博客积分: 10821
  • 博客等级: 上将
  • 技术积分: 12031
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-02 10:41
个人简介

中科院云平台架构师,专注于数字化、智能化,技术方向:云、Linux内核、AI、MES/ERP/CRM/OA、物联网、传感器、大数据、ML、微服务。

文章分类

全部博文(702)

分类: 系统运维

2006-02-20 17:18:35

可参见C:\jakarta-tomcat-4.1.24\conf\web.xml
在浏览器中,ContentType一般指定当前的文档内容,浏览器即根据相应的MIME及Content-Type映射来打开页面。比较常见的ContentType如下:
   ContentTypes : "ez","application/andrew-inset"
   ContentTypes : "hqx","application/mac-binhex40"
   ContentTypes : "cpt","application/mac-compactpro"
   ContentTypes : "doc","application/msword"
   ContentTypes : "bin","application/octet-stream"
   ContentTypes : "dms","application/octet-stream"
   ContentTypes : "lha","application/octet-stream"
   ContentTypes : "lzh","application/octet-stream"
   ContentTypes : "exe","application/octet-stream"
   ContentTypes : "class","application/octet-stream"
   ContentTypes : "so","application/octet-stream"
   ContentTypes : "dll","application/octet-stream"
   ContentTypes : "oda","application/oda"
   ContentTypes : "pdf","application/pdf"
   ContentTypes : "ai","application/postscript"
   ContentTypes : "eps","application/postscript"
   ContentTypes : "ps","application/postscript"
   ContentTypes : "smi","application/smil"
   ContentTypes : "smil","application/smil"
   ContentTypes : "mif","application/vnd.mif"
   ContentTypes : "xls","application/vnd.ms-excel"
   ContentTypes : "ppt","application/vnd.ms-powerpoint"
   ContentTypes : "wbxml","application/vnd.wap.wbxml"
   ContentTypes : "wmlc","application/vnd.wap.wmlc"
   ContentTypes : "wmlsc","application/vnd.wap.wmlscriptc"
   ContentTypes : "bcpio","application/x-bcpio"
   ContentTypes : "vcd","application/x-cdlink"
   ContentTypes : "pgn","application/x-chess-pgn"
   ContentTypes : "cpio","application/x-cpio"
   ContentTypes : "csh","application/x-csh"
   ContentTypes : "dcr","application/x-director"
   ContentTypes : "dir","application/x-director"
   ContentTypes : "dxr","application/x-director"
   ContentTypes : "dvi","application/x-dvi"
   ContentTypes : "spl","application/x-futuresplash"
   ContentTypes : "gtar","application/x-gtar"
   ContentTypes : "hdf","application/x-hdf"
   ContentTypes : "js","application/x-javascript"
   ContentTypes : "skp","application/x-koan"
   ContentTypes : "skd","application/x-koan"
   ContentTypes : "skt","application/x-koan"
   ContentTypes : "skm","application/x-koan"
   ContentTypes : "latex","application/x-latex"
   ContentTypes : "nc","application/x-netcdf"
   ContentTypes : "cdf","application/x-netcdf"
   ContentTypes : "sh","application/x-sh"
   ContentTypes : "shar","application/x-shar"
   ContentTypes : "swf","application/x-shockwave-flash"
   ContentTypes : "sit","application/x-stuffit"
   ContentTypes : "sv4cpio","application/x-sv4cpio"
   ContentTypes : "sv4crc","application/x-sv4crc"
   ContentTypes : "tar","application/x-tar"
   ContentTypes : "tcl","application/x-tcl"
   ContentTypes : "tex","application/x-tex"
   ContentTypes : "texinfo","application/x-texinfo"
   ContentTypes : "texi","application/x-texinfo"
   ContentTypes : "t","application/x-troff"
   ContentTypes : "tr","application/x-troff"
   ContentTypes : "roff","application/x-troff"
   ContentTypes : "man","application/x-troff-man"
   ContentTypes : "me","application/x-troff-me"
   ContentTypes : "ms","application/x-troff-ms"
   ContentTypes : "ustar","application/x-ustar"
   ContentTypes : "src","application/x-wais-source"
   ContentTypes : "xhtml","application/xhtml+xml"
   ContentTypes : "xht","application/xhtml+xml"
   ContentTypes : "zip","application/zip"
   ContentTypes : "au","audio/basic"
   ContentTypes : "snd","audio/basic"
   ContentTypes : "mid","audio/midi"
   ContentTypes : "midi","audio/midi"
   ContentTypes : "kar","audio/midi"
   ContentTypes : "mpga","audio/mpeg"
   ContentTypes : "mp2","audio/mpeg"
   ContentTypes : "mp3","audio/mpeg"
   ContentTypes : "aif","audio/x-aiff"
   ContentTypes : "aiff","audio/x-aiff"
   ContentTypes : "aifc","audio/x-aiff"
   ContentTypes : "m3u","audio/x-mpegurl"
   ContentTypes : "ram","audio/x-pn-realaudio"
   ContentTypes : "rm","audio/x-pn-realaudio"
   ContentTypes : "rpm","audio/x-pn-realaudio-plugin"
   ContentTypes : "ra","audio/x-realaudio"
   ContentTypes : "wav","audio/x-wav"
   ContentTypes : "pdb","chemical/x-pdb"
   ContentTypes : "xyz","chemical/x-xyz"
   ContentTypes : "bmp","image/bmp"
   ContentTypes : "gif","image/gif"
   ContentTypes : "ief","image/ief"
   ContentTypes : "jpeg","image/jpeg"
   ContentTypes : "jpg","image/jpeg"
   ContentTypes : "jpe","image/jpeg"
   ContentTypes : "png","image/png"
   ContentTypes : "tiff","image/tiff"
   ContentTypes : "tif","image/tiff"
   ContentTypes : "djvu","image/vnd.djvu"
   ContentTypes : "djv","image/vnd.djvu"
   ContentTypes : "wbmp","image/vnd.wap.wbmp"
   ContentTypes : "ras","image/x-cmu-raster"
   ContentTypes : "pnm","image/x-portable-anymap"
   ContentTypes : "pbm","image/x-portable-bitmap"
   ContentTypes : "pgm","image/x-portable-graymap"
   ContentTypes : "ppm","image/x-portable-pixmap"
   ContentTypes : "rgb","image/x-rgb"
   ContentTypes : "xbm","image/x-xbitmap"
   ContentTypes : "xpm","image/x-xpixmap"
   ContentTypes : "xwd","image/x-xwindowdump"
   ContentTypes : "igs","model/iges"
   ContentTypes : "iges","model/iges"
   ContentTypes : "msh","model/mesh"
   ContentTypes : "mesh","model/mesh"
   ContentTypes : "silo","model/mesh"
   ContentTypes : "wrl","model/vrml"
   ContentTypes : "vrml","model/vrml"
   ContentTypes : "css","text/css"
   ContentTypes : "html","text/html"
   ContentTypes : "htm","text/html"
   ContentTypes : "asc","text/plain"
   ContentTypes : "txt","text/plain"
   ContentTypes : "rtx","text/richtext"
   ContentTypes : "rtf","text/rtf"
   ContentTypes : "sgml","text/sgml"
   ContentTypes : "sgm","text/sgml"
   ContentTypes : "tsv","text/tab-separated-values"
   ContentTypes : "wml","text/vnd.wap.wml"
   ContentTypes : "wmls","text/vnd.wap.wmlscript"
   ContentTypes : "etx","text/x-setext"
   ContentTypes : "xsl","text/xml"
   ContentTypes : "xml","text/xml"
   ContentTypes : "mpeg","video/mpeg"
   ContentTypes : "mpg","video/mpeg"
   ContentTypes : "mpe","video/mpeg"
   ContentTypes : "qt","video/quicktime"
   ContentTypes : "mov","video/quicktime"
   ContentTypes : "mxu","video/vnd.mpegurl"
   ContentTypes : "avi","video/x-msvideo"
   ContentTypes : "movie","video/x-sgi-movie"
   ContentTypes : "ice","x-conference/x-cooltalk"
   ContentTypes : "form","application/x-www-form-urlencoded"
阅读(2097) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~