xhchc

          危波帆墻,笑談只在桃花上;與誰共尚,風吹萬里浪; 相依相偎,不做黃泉想;莫惆悵,碧波潮生,一蕭自狂放……

           

          struts2上傳文件類型總結

        1. Description of Data Content Typical Filename Extensions    
        2.     
        3.   
        4. MIME type/subtype    
        5.            
        6. Text and Text-Related Types           
        7. HTML text data (RFC 1866) html htm    text/html    
        8. Plain text: documents; program listings txt c c++ pl cc h   text/plain     
        9. Richtext (obsolete - replaced by text/enriched)      text/richtext     
        10. Structure enhanced text  (etx?)    text/x-setext    
        11. Enriched text markup (RFC 1896)     text/enriched    
        12. Tab-separated values (tabular) (tsv?)    text/tab-separated-values     
        13. SGML documents (RFC 1874)     text/sgml    
        14. Speech synthesis data (MVP Solutions)  talk   text/x-speech     
        15.            
        16. Document Stylesheet Types           
        17. Cascading Stylesheets  css    text/css    
        18. DSSSL-online stylesheets     application/dsssl (proposed)     
        19.            
        20. Image Types          
        21. GIF  gif   image/gif    
        22. X-Windows bitmap (b/w)  xbm    image/x-xbitmap    
        23. X-Windows pixelmap (8-bit color)  xpm    image/x-xpixmap    
        24. Portable Network Graphics png    image/x-png    
        25. Image Exchange Format (RFC 1314) ief    image/ief    
        26. JPEG  jpeg jpg jpe   image/jpeg    
        27. TIFF  tiff tif   image/tiff    
        28. RGB  rgb   image/rgb    
        29.       image/x-rgb     
        30. Group III Fax (RFC 1494) g3f    image/g3fax    
        31. X Windowdump format xwd   image/x-xwindowdump    
        32. Macintosh PICT format pict    image/x-pict    
        33. PPM (UNIX PPM package) ppm    image/x-portable-pixmap    
        34. PGM (UNIX PPM package) pgm    image/x-portable-graymap     
        35. PBM (UNIX PPM package) pbm    image/x-portable-bitmap    
        36. PNM (UNIX PPM package) pnm    image/x-portable-anymap    
        37. Microsoft Windows bitmap  bmp    image/x-ms-bmp    
        38. CMU raster  ras   image/x-cmu-raster    
        39. Kodak Photo-CD  pcd   image/x-photo-cd    
        40. Computer Graphics Metafile  cgm    image/cgm    
        41. North Am. Presentation Layer Protocol     image/naplps    
        42. CALS Type 1 or 2 mil cal    image/x-cals    
        43. Fractal Image Format (Iterated Systems)  fif   image/fif     
        44. QuickSilver active image (Micrografx)  dsf   image/x-mgx-dsf     
        45. CMX vector image (Corel) cmx    image/x-cmx    
        46. Wavelet-compressed (Summus) wi    image/wavelet    
        47. AutoCad Drawing (SoftSource) dwg    image/vnd.dwg    
        48.       image/x-dwg     
        49. AutoCad DXF file (SoftSource) dxf    image/vnd.dxf    
        50.       image/x-dxf     
        51. Simple Vector Format (SoftSource) svf   image/vnd.svf     
        52.       also vector/x-svf     
        53.            
        54. Audio/Voice/Music Related Types           
        55. "basic"audio - 8-bit u-law PCM au snd   audio/basic     
        56. Macintosh audio format (AIpple) aif aiff aifc    audio/x-aiff    
        57. Microsoft audio  wav    audio/x-wav    
        58. MPEG audio  mpa abs mpega    audio/x-mpeg    
        59. MPEG-2 audio mp2a mpa2    audio/x-mpeg-2    
        60. compressed speech (Echo Speech Corp.)  es   audio/echospeech     
        61. Toolvox speech audio (Voxware) vox    audio/voxware     
        62. RapidTransit compressed audio (Fast Man)  lcc   application/fastman     
        63. Realaudio (Progressive Networks) ra ram   application/x-pn-realaudio     
        64. NIFF music notation data format     application/vnd.music-niff     
        65. MIDI music data  mmid   x-music/x-midi    
        66. Koan music data (SSeyo) skp    application/vnd.koan    
        67.       application/x-koan     
        68. Speech synthesis data (MVP Solutions)  talk   text/x-speech     
        69.            
        70. Video Types          
        71. MPEG video mpeg mpg mpe   video/mpeg    
        72. MPEG-2 video mpv2 mp2v   video/mpeg-2    
        73. Macintosh Quicktime qt mov    video/quicktime    
        74. Microsoft video  avi   video/x-msvideo    
        75. SGI Movie format movie   video/x-sgi-movie    
        76. VDOlive streaming video (VDOnet) vdo   video/vdo     
        77. Vivo streaming video (Vivo software)  viv   video/vnd.vivo     
        78.       video/vivo     
        79. Special HTTP/Web Application Types           
        80. Proxy autoconfiguration (Netscape browsers)  pac   application/x-ns-proxy-autoconfig     
        81. See Chapter 6     application/x-www-form-urlencoded    
        82. See Chapter 9     application/x-www-local-exec    
        83. See Chapter 9 (Netscape extension)     multipart/x-mixed-replace     
        84. See Chapter 9 and Appendix B     multipart/form-data    
        85. Netscape Cooltalk chat data (Netscape)  ice   x-conference/x-cooltalk     
        86. Interactive chat (Ichat)     application/x-chat     
        87.            
        88. Application Types           
        89.            
        90. Text-Related          
        91. PostScript  ai eps ps   application/postscript    
        92. Microsoft Rich Text Format rtf    application/rtf    
        93. Adobe Acrobat PDF  pdf    application/pdf    
        94.       application/x-pdf     
        95. Maker Interchange Format (FrameMaker)  mif   application/vnd.mif     
        96.       application/x-mif     
        97. Troff document t tr roff   application/x-troff    
        98. Troff document with MAN macros man    application/x-troff-man    
        99. Troff document with ME macros me    application/x-troff-me    
        100. Troff document with MS macros ms    application/x-troff-ms    
        101. LaTeX document  latex   application/x-latex    
        102. Tex/LateX document tex   application/x-tex    
        103. GNU TexInfo document texinfo texi    application/x-texinfo    
        104. TeX dvi format  dvi   application/x-dvi    
        105. MacWrite document ??   application/macwriteii    
        106. MS word document ??   application/msword    
        107. WordPerfect 5.1 document ??    application/wordperfect5.1     
        108. SGML application (RFC 1874)     application/sgml    
        109. Office Document Architecture oda    application/oda     
        110. Envoy Document evy   application/envoy    
        111. Wang Info. Tranfer Format (Wang)     application/wita     
        112. DEC Document Transfer Format (DEC)     application/dec-dx     
        113. IBM Document Content Architecture (IBM)      application/dca-rft     
        114.            
        115. CommonGround Digital Paper (No Hands Software)      application/commonground     
        116. FrameMaker Documents (Frame) doc fm frm frame    application/vnd.framemaker     
        117.       application/x-framemaker     
        118. Remote printing at arbitrary printers (RFC 1486)      application/remote-printing     
        119.            
        120. Archive/Compressed Archives          
        121. Gnu tar format gtar   application/x-gtar    
        122. 4.3BSD tar format tar   application/x-tar    
        123. POSIX tar format ustar   application/x-ustar    
        124. Old CPIO format bcpio   application/x-bcpio    
        125. POSIX CPIO format cpio   application/x-cpio    
        126. UNIX sh shell archive shar    application/x-shar    
        127. DOS/PC - Pkzipped archive zip    application/zip    
        128. Macintosh Binhexed archive  hqx    application/mac-binhex40     
        129. Macintosh Stuffit Archive sit sea    application/x-stuffit    
        130. Fractal Image Format  fif    application/fractals    
        131. Binary, UUencoded bin uu   application/octet-stream    
        132. PC executable exe   application/octet-stream    
        133. WAIS "sources" src wsrc    application/x-wais-source     
        134. NCSA HDF data format hdf   application/hdf    
        135.            
        136. Downloadable Program/Scripts          
        137. Javascript program  js ls mocha    text/javascript     
        138.       application/x-javascript     
        139. VBScript program      text/vbscript    
        140. UNIX bourne shell program sh    application/x-sh    
        141. UNIX c-shell program csh   application/x-csh    
        142. Perl program pl   application/x-perl    
        143. Tcl (Tool Control Language) program tcl    application/x-tcl    
        144. Atomicmail program scripts (obsolete)      application/atomicmail     
        145. Slate documents - executable enclosures (BBN)      application/slate     
        146. Undefined binary data (often executable progs)      application/octet-stream     
        147. RISC OS Executable programs (ANT Limited)      application/riscos     
        148.            
        149. Animation/Multimedia          
        150. Andrew Toolkit inset     application/andrew-inset    
        151. FutureSplash vector animation (FutureWave)  spl   application/futuresplash     
        152. mBED multimedia data (mBED) mbd    application/mbedlet     
        153. Macromedia Shockwave (Macromedia)     application/x-director     
        154. Sizzler real-time video/animation     application/x-sprite     
        155. PowerMedia multimedia (RadMedia) rad   application/x-rad-powermedia     
        156.            
        157. Presentation           
        158. PowerPoint presentation (Microsoft) ppz   application/mspowerpoint     
        159. PointPlus presentation data (Net Scene)  css   application/x-pointplus     
        160. ASAP WordPower (Software Publishing Corp.)  asp   application/x-asap     
        161. Astound Web Player multimedia data (GoldDisk)  asn   application/astound     
        162. Special Embedded Object           
        163. OLE script e.g. Visual Basic (Ncompass)  axs   application/x-olescript     
        164. OLE Object (Microsoft/NCompass) ods   application/x-oleobject     
        165. OpenScape OLE/OCX objects (Business@Web)  opp   x-form/x-openscape     
        166. Visual Basic objects (Amara) wba    application/x-webbasic     
        167. Specialized data entry forms (Alpha Software)  frm   application/x-alpha-form     
        168. client-server objects (Wayfarer Communications)  wfx   x-script/x-wfxclient     
        169. General Applications          
        170. Undefined binary data (often executable progs)      application/octet-stream     
        171. CALS (U.S. D.O.D data format - RFC 1895)     application/cals-1840     
        172. Pointcast news data (Pointcast) pcn   application/x-pcn     
        173. Excel spreadsheet (Microsoft)     application/vnd.ms-excel     
        174.       application/x-msexcel     
        175.       application/ms-excel    
        176. PowerPoint (Microsoft) ppt    application/vnd.ms-powerpoint     
        177.       application/ms-powerpoint     
        178. Microsoft Project (Microsoft)     application/vnd.ms-project     
        179. Works data (Microsoft)     application/vnd.ms-works     
        180. MAPI data (Microsoft)     application/vnd.ms-tnef    
        181. Artgallery data (Microsoft)     application/vnd.artgalry     
        182. SourceView document (Dataware Electronics)  svd   application/vnd.svd     
        183. Truedoc (Bitstream)     application/vnd.truedoc    
        184. Net Install - software install (20/20 Software)  ins   application/x-net-install     
        185. Carbon Copy - remote control/access (Microcom)  ccv   application/ccv     
        186. Spreadsheets (Visual Components) vts   workbook/formulaone     
        187. Cybercash digital money (Cybercash)     application/cybercash     
        188. Format for sending generic Macintosh files     application/applefile     
        189. Active message -- connect to active mail app.      application/activemessage     
        190. X.400 mail message body part (RFC 1494)     application/x400-bp     
        191. USENET news message id (RFC 1036)     application/news-message-id     
        192. USENET news message (RFC 1036)     application/news-transmission     
        193.            
        194. Multipart Types (mostly email)           
        195. Messages with multiple parts     multipart/mixed    
        196. Messages with multiple, alternative parts     multipart/alternative     
        197. Message with multiple, related parts      multipart/related    
        198. Multiple parts are digests     multipart/digest    
        199. For reporting of email status (admin.)     multipart/report     
        200. Order of parts does not matter     multipart/parallel    
        201. Macintosh file data     multipart/appledouble    
        202. Aggregate messages; descriptor as header     multipart/header-set     
        203. Container for voice-mail      multipart/voice-message    
        204. HTML FORM data (see Ch. 9 and App. B)     multipart/form-data    
        205. Infinite multiparts - See Chapter 9 (Netscape)      multipart/x-mixed-replace     
        206.            
        207. Message Types (mostly email)           
        208. MIME message     message/rfc822    
        209. Partial message     message/partial    
        210. Message containing external references     message/external-body     
        211. Message containing USENET news     message/news    
        212. HTTP message      message/http    
        213.            
        214. 2D/3D Data/Virtual Reality Types           
        215. VRML data file wrl vrml   x-world/x-vrml    
        216. (changing to model/vrml)    
        217.     
        218. WIRL - VRML data (VREAM) vrw    x-world/x-vream    
        219. Play3D 3d scene data (Play3D) p3d    application/x-p3d     
        220. Viscape Interactive 3d world data (Superscape)  svr   x-world/x-svr     
        221. WebActive 3d data (Plastic Thought)  wvr   x-world/x-wvr     
        222. QuickDraw3D scene data (Apple) 3dmf   x-world/x-3dmf     
        223.            
        224. Scientific/Math/CAD Types           
        225. Chemical types -- to communicate information about chemical models      chemical/* (several subtypes)     
        226. Mathematica notebook ma   application/mathematica    
        227. Computational meshes for numerical simulations  msh   x-model/x-mesh    
        228. (evolving to model/mesh)    
        229.     
        230. Vis5D 5-dimensional data  v5d    application/vis5d    
        231. IGES models -- CAD/CAM (CGM) data  igs    application/iges    
        232. (evolving to model/iges?)    
        233.     
        234. Autocad WHIP vector drawings dwf    drawing/x-dwf    
        235.            
        236.   
        237. Largely Platform-Specific Types           
        238.   
        239. Silicon Graphics Specific Types           
        240. Showcase Presentations showcase slides sc sho show    application/x-showcase    
        241. Insight Manual pages ins insight    application/x-insight    
        242. Iris Annotator data ano   application/x-annotator    
        243. Directory Viewer dir   application/x-dirview    
        244. Software License  lic   application/x-enterlicense    
        245. Fax manager file faxmgr   application/x-fax-manager     
        246. Fax job data file faxmgrjob    application/x-fax-manager-job     
        247. IconBook data icnbk   application/x-iconbook    
        248. ? wb   application/x-inpview    
        249. Installable software in 'inst' format inst    application/x-install    
        250. Mail folder mail   application/x-mailfolder    
        251. ? pp ppages   application/x-ppages    
        252. Data for printer (via lpr) sgi-lpr    application/x-sgi-lpr    
        253. Software in 'tardist' format tardist    application/x-tardist    
        254. Software in compressed 'tardist' format ztardist   application/x-ztardist     
        255. WingZ spreadsheet wkz   application/x-wingz    
        256. Open Inventor 3-D scenes  iv    graphics/x-inventor 
        257. posted on 2008-08-12 11:02 chu 閱讀(1492) 評論(1)  編輯  收藏

          評論

          # re: struts2上傳文件類型總結[未登錄] 2009-03-04 23:04 java

          這些內容,tomcat里面的web.XML文件里面就有呀,呵呵。  回復  更多評論   


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          導航

          統計

          常用鏈接

          留言簿(2)

          隨筆檔案

          我的鏈接

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 儋州市| 塔河县| 东山县| 洪泽县| 绿春县| 吉隆县| 阿坝县| 彭州市| 九寨沟县| 延津县| 汶上县| 嘉祥县| 四平市| 左权县| 略阳县| 东丰县| 新平| 全椒县| 太谷县| 永春县| 叶城县| 睢宁县| 崇左市| 静海县| 辽阳县| 闵行区| 古丈县| 永寿县| 唐海县| 富裕县| 塔河县| 克什克腾旗| 普兰店市| 勃利县| 黑山县| 青浦区| 彩票| 大理市| 湘阴县| 睢宁县| 门源|