`

html contentType 类型说明

 
阅读更多
Html 中 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"
<script type="text/javascript"></script>
分享到:
评论

相关推荐

    struts2 文件上传中 ContentType对应表

    在Struts2框架中,处理文件上传时,需要正确识别文件类型并设定对应的MIME类型(ContentType),这对于确保文件被正确解析至关重要。下面将详细介绍部分常见的文件扩展名及其对应的ContentType,以及这些类型的含义...

    W3 Jmail用法说明中文版_.docx

    4. `ContentType`:设定邮件的MIME类型,如`JMail.ContentType = "text/html"`,默认是"text/plain",如果要发送HTML格式的邮件,应将其设置为"text/html"。 5. `DeferredDelivery`:用于设置延期发送邮件的时间,...

    SmartUpload使用说明

    &lt;%@ page contentType="text/html;charset=gb2312" language="java" import="java.util.*, com.jspsmart.upload.*" %&gt; &lt;html&gt; 文件上传处理页面 &lt;meta http-equiv="Content-Type" content="text/html; charset...

    struts2与jfreechart的结合例子源代码有详细说明

    在`struts.xml`中,为Action添加一个流结果,指定其类型为`stream`,并设置`contentType`属性为对应的图像类型,如`image/jpeg`,同时将生成的图像写入到`OutputStream`。 在前端展示时,可以使用HTML的`&lt;img&gt;`标签...

    关于applicationx-www-form-urlencoded等字符编码的解释说明

    在HTML表单中,Enctype属性指定将数据回发到服务器时浏览器使用的编码类型。application/x-www-form-urlencoded是默认的编码格式,当action为get时,浏览器会将form数据转换成一个字串(name1=value1&name2=value2.....

    asp.net *.ashx类型的文件使用说明

    ASP.NET中的`.ashx`文件是一种称为HTTP处理程序(HTTP Handler)的特殊文件类型,用于处理特定类型的HTTP请求。与`.aspx`文件不同,`.ashx`文件不用于生成HTML页面,而是用于动态生成非HTML内容,如图片、XML文件...

    金鹰asp超速入门视频教程-049.向浏览器输出数据2.rar

    下载说明.txt文件可能包含了获取更多教程资源的步骤,而"A5下载- 更全的站长资源平台.url"则是一个网址链接,指向一个提供丰富站长资源的平台,可能包括更多的ASP教程、代码示例和其他相关工具。 总的来说,学习并...

    6寸电子书-ASP的内建对象笔记.pdf

    4. **ContentType 属性**: 设置输出的内容类型。 - **语法**: `Response.ContentType = "text/html"` - **说明**: 定义输出格式。 5. **Expires 属性**: 设置浏览器缓存过期时间。 - **语法**: `Response....

    最详细jsp 如何进行注释

    下面通过一个具体的例子来进一步说明不同类型的注释在JSP中的应用: ```jsp &lt;%@ page language="java" contentType="text/html; charset=UTF-8" %&gt; &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;title&gt;JSP 注释示例 欢迎来到 JSP ...

    JAVA Web程序设计-3期(KC006) 13-1-3应用jspSmartUpload组件实现文件上传的操作步骤.doc

    &lt;%@ page contentType="text/html;charset=GBK" import="java.util.*,com.jspsmart.upload.*" errorPage="" %&gt; &lt;html&gt; 文件上传处理页面 &lt;meta http-equiv="Content-Type" content="text/html; charset=gb2312...

    struts2登录拦截器

    登录拦截器则是其中一种常用的拦截器类型,它主要用于确保只有经过认证的用户才能访问特定的资源或功能。 #### 二、需求分析 根据给定文件中的描述,本示例的需求是:要求用户登录,并且必须为指定用户名才可以...

    图片存入mySql数据库.pdf

    在`testimage.jsp`中,页面首先通过JSP指令`&lt;%@ page contentType="text/html;charset=gb2312" %&gt;`设置了页面内容类型为HTML,并指定了字符编码为GB2312,以确保中文字符正确显示。然后通过`*" %&gt;`导入了Java SQL包...

    修改模板代码(myEclipse8.5-9-10)

    - **页面编码设置**:设置JSP页面的编码格式,如`&lt;%@ page contentType="text/html;charset=UTF-8" language="java" %&gt;`。 - **页面注释**:可以在文件顶部添加自定义的页面注释。 ##### 4. Servlet.java `Servlet...

    WebSphere6.1集群安装配置及部署应用说明

    - 删除 `map.jsp` 和 `map1280.jsp` 文件中的 `&lt;%@ page contentType="text/html;charset=GBK" %&gt;` 行。 - 修改 `mapcommon.jsp` 和 `mapcommon1280.jsp` 文件中的第 5 行代码为: ``` showTitle = new String...

    CGI_CSharp_Demo_2_CGIenC#_capqjz_movie47z_DEMO_

    response.ContentType = "text/html"; // 将处理结果写入响应 response.Write(result); } private string ProcessRequest(string data) { // 这里实现你的业务逻辑 return "数据已处理:" + data; } } ``...

    ASP实例开发源码-追梦阳光口碑点评系统asp版.zip

    `Response.ContentType`用于设置HTTP响应的MIME类型,确保浏览器正确解析内容。`Server.CreateObject`创建了一个数据库连接对象,接着执行SQL查询获取数据,并通过`Response.Write`将结果输出到页面上。 接下来,...

    JSP程序的设计上机实验与综合实训部分实验代码.doc

    - `page` 指令:`&lt;% page contentType="text/html;charset=GB2312"%&gt;` 用于设置页面的MIME类型和字符编码。在这个例子中,设置了内容类型为HTML,编码为GBK。 2. **脚本元素(Scriptlets)**: - `&lt;%...%&gt;` 用于...

    新_掌讯支付平台-对接文档1

    - 返回的响应参数包括机构编号、返回码、消息说明、商户编号、商户订单编号、平台订单号(非必填)、业务内容类型(非必填)、业务内容(非必填)、订单状态(非必填)、状态描述(非必填)和签名。 7. **支付结果...

    jsp实例

    这里设置了页面的语言为Java,内容类型为HTML,并定义了字符编码。 3. **JSP脚本元素** 脚本元素包括脚本声明、脚本表达式和脚本块。例如: - 脚本声明:`! ... %&gt;`,用于声明变量或方法。 - 脚本表达式:`...

    Ajax常用方法

    - **contentType** - 类型:String - 默认值:"application/x-www-form-urlencoded" - 描述:指定发送数据至服务器时的内容类型,默认值适合大多数情况。 - **context** - 类型:Object - 描述:用于设置 ...

Global site tag (gtag.js) - Google Analytics