- 浏览: 46274 次
- 性别:
- 来自: 北京
文章分类
最新评论
<mime-mapping> <extension>ai</extension> <mime-type>application/postscript</mime-type> <extension>aif</extension> <mime-type>audio/x-aiff</mime-type> <extension>aifc</extension> <mime-type>audio/x-aiff</mime-type> <extension>aiff</extension> <mime-type>audio/x-aiff</mime-type> <extension>apk</extension> <mime-type>application/vnd.android.package-archive</mime-type> <extension>asc</extension> <mime-type>text/plain</mime-type> <extension>asf</extension> <mime-type>video/x.ms.asf</mime-type> <extension>asx</extension> <mime-type>video/x.ms.asx</mime-type> <extension>au</extension> <mime-type>audio/basic</mime-type> <extension>avi</extension> <mime-type>video/x-msvideo</mime-type> <extension>bcpio</extension> <mime-type>application/x-bcpio</mime-type> <extension>bin</extension> <mime-type>application/octet-stream</mime-type> <extension>cab</extension> <mime-type>application/x-cabinet</mime-type> <extension>cdf</extension> <mime-type>application/x-netcdf</mime-type> <extension>class</extension> <mime-type>application/java-vm</mime-type> <extension>cpio</extension> <mime-type>application/x-cpio</mime-type> <extension>cpt</extension> <mime-type>application/mac-compactpro</mime-type> <extension>crt</extension> <mime-type>application/x-x509-ca-cert</mime-type> <extension>csh</extension> <mime-type>application/x-csh</mime-type> <extension>css</extension> <mime-type>text/css</mime-type> <extension>csv</extension> <mime-type>text/comma-separated-values</mime-type> <extension>dcr</extension> <mime-type>application/x-director</mime-type> <extension>dir</extension> <mime-type>application/x-director</mime-type> <extension>dll</extension> <mime-type>application/x-msdownload</mime-type> <extension>dms</extension> <mime-type>application/octet-stream</mime-type> <extension>doc</extension> <mime-type>application/msword</mime-type> <extension>dtd</extension> <mime-type>application/xml-dtd</mime-type> <extension>dvi</extension> <mime-type>application/x-dvi</mime-type> <extension>dxr</extension> <mime-type>application/x-director</mime-type> <extension>eps</extension> <mime-type>application/postscript</mime-type> <extension>etx</extension> <mime-type>text/x-setext</mime-type> <extension>exe</extension> <mime-type>application/octet-stream</mime-type> <extension>ez</extension> <mime-type>application/andrew-inset</mime-type> <extension>gif</extension> <mime-type>image/gif</mime-type> <extension>gtar</extension> <mime-type>application/x-gtar</mime-type> <extension>gz</extension> <mime-type>application/gzip</mime-type> <extension>gzip</extension> <mime-type>application/gzip</mime-type> <extension>hdf</extension> <mime-type>application/x-hdf</mime-type> <extension>hqx</extension> <mime-type>application/mac-binhex40</mime-type> <extension>htc</extension> <mime-type>text/x-component</mime-type> <extension>html</extension> <mime-type>text/html</mime-type> <extension>htm</extension> <mime-type>text/html</mime-type> <extension>ice</extension> <mime-type>x-conference/x-cooltalk</mime-type> <extension>ico</extension> <mime-type>image/x-icon</mime-type> <extension>ief</extension> <mime-type>image/ief</mime-type> <extension>iges</extension> <mime-type>model/iges</mime-type> <extension>igs</extension> <mime-type>model/iges</mime-type> <extension>jar</extension> <mime-type>application/java-archive</mime-type> <extension>java</extension> <mime-type>text/plain</mime-type> <extension>jnlp</extension> <mime-type>application/x-java-jnlp-file</mime-type> <extension>jpeg</extension> <mime-type>image/jpeg</mime-type> <extension>jpe</extension> <mime-type>image/jpeg</mime-type> <extension>jpg</extension> <mime-type>image/jpeg</mime-type> <extension>js</extension> <mime-type>application/x-javascript</mime-type> <extension>jsp</extension> <mime-type>text/plain</mime-type> <extension>kar</extension> <mime-type>audio/midi</mime-type> <extension>latex</extension> <mime-type>application/x-latex</mime-type> <extension>lha</extension> <mime-type>application/octet-stream</mime-type> <extension>lzh</extension> <mime-type>application/octet-stream</mime-type> <extension>man</extension> <mime-type>application/x-troff-man</mime-type> <extension>mathml</extension> <mime-type>application/mathml+xml</mime-type> <extension>me</extension> <mime-type>application/x-troff-me</mime-type> <extension>mesh</extension> <mime-type>model/mesh</mime-type> <extension>mid</extension> <mime-type>audio/midi</mime-type> <extension>midi</extension> <mime-type>audio/midi</mime-type> <extension>mif</extension> <mime-type>application/vnd.mif</mime-type> <extension>mol</extension> <mime-type>chemical/x-mdl-molfile</mime-type> <extension>movie</extension> <mime-type>video/x-sgi-movie</mime-type> <extension>mov</extension> <mime-type>video/quicktime</mime-type> <extension>mp2</extension> <mime-type>audio/mpeg</mime-type> <extension>mp3</extension> <mime-type>audio/mpeg</mime-type> <extension>mpeg</extension> <mime-type>video/mpeg</mime-type> <extension>mpe</extension> <mime-type>video/mpeg</mime-type> <extension>mpga</extension> <mime-type>audio/mpeg</mime-type> <extension>mpg</extension> <mime-type>video/mpeg</mime-type> <extension>ms</extension> <mime-type>application/x-troff-ms</mime-type> <extension>msh</extension> <mime-type>model/mesh</mime-type> <extension>msi</extension> <mime-type>application/octet-stream</mime-type> <extension>nc</extension> <mime-type>application/x-netcdf</mime-type> <extension>oda</extension> <mime-type>application/oda</mime-type> <extension>odb</extension> <mime-type>application/vnd.oasis.opendocument.database</mime-type> <extension>odc</extension> <mime-type>application/vnd.oasis.opendocument.chart</mime-type> <extension>odf</extension> <mime-type>application/vnd.oasis.opendocument.formula</mime-type> <extension>odg</extension> <mime-type>application/vnd.oasis.opendocument.graphics</mime-type> <extension>odi</extension> <mime-type>application/vnd.oasis.opendocument.image</mime-type> <extension>odm</extension> <mime-type>application/vnd.oasis.opendocument.text-master</mime-type> <extension>odp</extension> <mime-type>application/vnd.oasis.opendocument.presentation</mime-type> <extension>ods</extension> <mime-type>application/vnd.oasis.opendocument.spreadsheet</mime-type> <extension>odt</extension> <mime-type>application/vnd.oasis.opendocument.text</mime-type> <extension>ogg</extension> <mime-type>application/ogg</mime-type> <extension>otc</extension> <mime-type>application/vnd.oasis.opendocument.chart-template </mime-type> <extension>otf</extension> <mime-type>application/vnd.oasis.opendocument.formula-template </mime-type> <extension>otg</extension> <mime-type>application/vnd.oasis.opendocument.graphics-template </mime-type> <extension>oth</extension> <mime-type>application/vnd.oasis.opendocument.text-web</mime-type> <extension>oti</extension> <mime-type>application/vnd.oasis.opendocument.image-template </mime-type> <extension>otp</extension> <mime-type>application/vnd.oasis.opendocument.presentation-template </mime-type> <extension>ots</extension> <mime-type>application/vnd.oasis.opendocument.spreadsheet-template </mime-type> <extension>ott</extension> <mime-type>application/vnd.oasis.opendocument.text-template</mime-type> <extension>pbm</extension> <mime-type>image/x-portable-bitmap</mime-type> <extension>pdb</extension> <mime-type>chemical/x-pdb</mime-type> <extension>pdf</extension> <mime-type>application/pdf</mime-type> <extension>pgm</extension> <mime-type>image/x-portable-graymap</mime-type> <extension>pgn</extension> <mime-type>application/x-chess-pgn</mime-type> <extension>png</extension> <mime-type>image/png</mime-type> <extension>pnm</extension> <mime-type>image/x-portable-anymap</mime-type> <extension>ppm</extension> <mime-type>image/x-portable-pixmap</mime-type> <extension>pps</extension> <mime-type>application/vnd.ms-powerpoint</mime-type> <extension>ppt</extension> <mime-type>application/vnd.ms-powerpoint</mime-type> <extension>ps</extension> <mime-type>application/postscript</mime-type> <extension>qt</extension> <mime-type>video/quicktime</mime-type> <extension>ra</extension> <mime-type>audio/x-pn-realaudio</mime-type> <extension>ra</extension> <mime-type>audio/x-realaudio</mime-type> <extension>ram</extension> <mime-type>audio/x-pn-realaudio</mime-type> <extension>ras</extension> <mime-type>image/x-cmu-raster</mime-type> <extension>rdf</extension> <mime-type>application/rdf+xml</mime-type> <extension>rgb</extension> <mime-type>image/x-rgb</mime-type> <extension>rm</extension> <mime-type>audio/x-pn-realaudio</mime-type> <extension>roff</extension> <mime-type>application/x-troff</mime-type> <extension>rpm</extension> <mime-type>application/x-rpm</mime-type> <extension>rpm</extension> <mime-type>audio/x-pn-realaudio</mime-type> <extension>rtf</extension> <mime-type>application/rtf</mime-type> <extension>rtx</extension> <mime-type>text/richtext</mime-type> <extension>ser</extension> <mime-type>application/java-serialized-object</mime-type> <extension>sgml</extension> <mime-type>text/sgml</mime-type> <extension>sgm</extension> <mime-type>text/sgml</mime-type> <extension>sh</extension> <mime-type>application/x-sh</mime-type> <extension>shar</extension> <mime-type>application/x-shar</mime-type> <extension>silo</extension> <mime-type>model/mesh</mime-type> <extension>sit</extension> <mime-type>application/x-stuffit</mime-type> <extension>skd</extension> <mime-type>application/x-koan</mime-type> <extension>skm</extension> <mime-type>application/x-koan</mime-type> <extension>skp</extension> <mime-type>application/x-koan</mime-type> <extension>skt</extension> <mime-type>application/x-koan</mime-type> <extension>smi</extension> <mime-type>application/smil</mime-type> <extension>smil</extension> <mime-type>application/smil</mime-type> <extension>snd</extension> <mime-type>audio/basic</mime-type> <extension>spl</extension> <mime-type>application/x-futuresplash</mime-type> <extension>src</extension> <mime-type>application/x-wais-source</mime-type> <extension>sv4cpio</extension> <mime-type>application/x-sv4cpio</mime-type> <extension>sv4crc</extension> <mime-type>application/x-sv4crc</mime-type> <extension>svg</extension> <mime-type>image/svg+xml</mime-type> <extension>swf</extension> <mime-type>application/x-shockwave-flash</mime-type> <extension>t</extension> <mime-type>application/x-troff</mime-type> <extension>tar</extension> <mime-type>application/x-tar</mime-type> <extension>tar.gz</extension> <mime-type>application/x-gtar</mime-type> <extension>tcl</extension> <mime-type>application/x-tcl</mime-type> <extension>tex</extension> <mime-type>application/x-tex</mime-type> <extension>texi</extension> <mime-type>application/x-texinfo</mime-type> <extension>texinfo</extension> <mime-type>application/x-texinfo</mime-type> <extension>tgz</extension> <mime-type>application/x-gtar</mime-type> <extension>tiff</extension> <mime-type>image/tiff</mime-type> <extension>tif</extension> <mime-type>image/tiff</mime-type> <extension>tr</extension> <mime-type>application/x-troff</mime-type> <extension>tsv</extension> <mime-type>text/tab-separated-values</mime-type> <extension>txt</extension> <mime-type>text/plain</mime-type> <extension>ustar</extension> <mime-type>application/x-ustar</mime-type> <extension>vcd</extension> <mime-type>application/x-cdlink</mime-type> <extension>vrml</extension> <mime-type>model/vrml</mime-type> <extension>vxml</extension> <mime-type>application/voicexml+xml</mime-type> <extension>wav</extension> <mime-type>audio/x-wav</mime-type> <extension>wbmp</extension> <mime-type>image/vnd.wap.wbmp</mime-type> <extension>wmlc</extension> <mime-type>application/vnd.wap.wmlc</mime-type> <extension>wmlsc</extension> <mime-type>application/vnd.wap.wmlscriptc</mime-type> <extension>wmls</extension> <mime-type>text/vnd.wap.wmlscript</mime-type> <extension>wml</extension> <mime-type>text/vnd.wap.wml</mime-type> <extension>wrl</extension> <mime-type>model/vrml</mime-type> <extension>wtls-ca-certificate</extension> <mime-type>application/vnd.wap.wtls-ca-certificate</mime-type> <extension>xbm</extension> <mime-type>image/x-xbitmap</mime-type> <extension>xht</extension> <mime-type>application/xhtml+xml</mime-type> <extension>xhtml</extension> <mime-type>application/xhtml+xml</mime-type> <extension>xls</extension> <mime-type>application/vnd.ms-excel</mime-type> <extension>xml</extension> <mime-type>application/xml</mime-type> <extension>xpm</extension> <mime-type>image/x-xpixmap</mime-type> <extension>xpm</extension> <mime-type>image/x-xpixmap</mime-type> <extension>xsl</extension> <mime-type>application/xml</mime-type> <extension>xslt</extension> <mime-type>application/xslt+xml</mime-type> <extension>xul</extension> <mime-type>application/vnd.mozilla.xul+xml</mime-type> <extension>xwd</extension> <mime-type>image/x-xwindowdump</mime-type> <extension>xyz</extension> <mime-type>chemical/x-xyz</mime-type> <extension>z</extension> <mime-type>application/compress</mime-type> <extension>zip</extension> <mime-type>application/zip</mime-type> </mime-mapping>
发表评论
-
脏读、幻影读、不可重复读
2013-10-18 17:51 38821. 脏读 :脏读就是指 ... -
Java 算法
2013-10-17 01:48 825排序法 最差时间分析 平均时间复杂度 稳 ... -
【转】Java自定义Exception设计
2011-05-05 18:11 1083http://blog.csdn.net/jasph77/ar ... -
【原】URL正则验证
2011-04-25 17:12 927public static boolean isUrlVali ... -
Servlet 验证码
2011-04-14 14:48 626import java.awt.Color; impo ... -
Java面试32题
2011-04-14 14:02 602第一,谈谈final, finally, finalize ... -
在0-100内取20个随机数,偶数排序
2011-04-14 13:59 1219import java.util.ArrayList; ... -
mime.properties
2011-04-14 13:50 781ai = application/postscript ... -
Tomcat 表单乱码解决办法
2011-04-14 13:45 732Filter web.xml 的配置 & ... -
EPR和SAP的一些名词解释
2008-07-25 11:07 763一、相关概念 1.企业 ...
相关推荐
* mime-mapping 元素:如果 Web 应用具有想到特殊的文件,希望能保证给他们分配特定的 MIME 类型。 * welcome-file-list 元素:指示服务器在收到引用一个目录名而不是文件名的 URL 时,使用哪个文件。 * error-page ...
### Web.xml中的MIME-Type标签作用与使用详解 在Java Web开发中,`web.xml`配置文件扮演着至关重要的角色。它定义了Web应用程序的基本结构和行为,包括Servlet的映射、过滤器、监听器等配置。其中,`mime-mapping`...
web.xml 和 server.xml 是 Tomcat 服务器的重要配置文件,用于配置 Servlet、Servlet Mapping、Session 配置、MIME 类型映射和 Welcome 文件列表等。同时,事件监听器和过滤器也可以在 web.xml 文件中进行配置,以...
web.xml 配置详解 web.xml 配置详解是指在 Java Web 应用程序中使用的部署描述符配置文件。它是一个 XML 文件,包含了很多描述 servlet/JSP 应用的各个方面的元素,如 servlet 注册、servlet 映射以及监听器注册。 ...
```xml <bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"> <!-- 设置最大上传文件大小,单位为字节 --> ``` 然后,控制器方法可以接收`...
web.xml 最全 MIME Type Mappings 大概有 一千多个
- **mime-mapping**: 定义文件扩展名到MIME类型之间的映射。 - **welcome-file-list**: 列出请求不存在时,作为欢迎文件的资源。 - **error-page**: 定义错误页面的配置。 - **taglib**: 定义标签库描述符。 ### ...
- `<mime-mapping>`:定义文件扩展名与MIME类型的映射。 - `<welcome-file-list>`:设置默认欢迎页面。 - `<error-page>`:定义错误页面,当特定HTTP状态码或异常发生时,转向指定的页面。 - `<jsp-config>`:...
《weblogic.xml详解:WebLogic应用部署的关键配置》 ...- [weblogic_xml.html] - [weblogic_xml_files] 通过对这些资源的学习,你可以进一步了解weblogic.xml的详细配置和实例,提升你的WebLogic应用部署能力。
在WebLogic管理控制台中,转到`Servers` > `Server Name` > `Default Web Module` > `MIME Types`,然后添加新的MIME类型,如`application/xml`,扩展名设为`crossdomain.xml`。 4. 部署更新:最后,保存并激活这些...
如果服务器需要根据文件扩展名返回特定的MIME类型,可以在`web.xml`中添加自定义映射: ```xml <mime-mapping> <extension>abc <mime-type>application/vnd.myformat</mime-type> </mime-mapping> ``` 这样...
- **`mime-mapping`**:为特定文件类型指定MIME类型,确保服务器正确处理文件。 - **`welcome-file-list`**:设置当用户访问目录而非具体文件时服务器返回的默认页面。 - **`error-page`**:定义错误处理页面,...
8. **MIME类型(MIME Types)**:定义了Web应用中文件类型的映射。 9. **欢迎文件列表(Welcome File List)**:定义了服务器启动时默认显示的文件列表。 #### 三、具体元素解析 ##### 1. 部署描述符 `<web-app>` ...
**web.xml 文件详解** 在Java Web应用程序中,`web.xml`文件是部署描述符(Deployment Descriptor),它是配置应用核心行为的重要文件。它定义了Servlet、过滤器、监听器、会话超时、错误页面等关键组件,使得...
13. `<mime-mapping>`:设置扩展名与MIME类型的映射。 14. `<jsp-config>`:JSP配置,如编译指令、属性等。 15. `<security-constraint>`:安全约束,用于权限控制。 16. `<login-config>`:定义用户登录认证方式。 ...
- **mime-mapping**:设置特定文件的MIME类型,确保服务器正确处理。 - **welcome-file-list**:定义目录URL被访问时显示的默认文件。 - **error-page**:为特定HTTP状态码或异常设置错误处理页面。 - **taglib*...
### Web.xml常用元素详解 `Web.xml`是Java Web应用程序中的核心配置文件,它用于配置应用程序的上下文信息、servlet映射、过滤器、监听器等关键组件。以下是对`Web.xml`中常见元素的详细解析: #### - **作用**...