- 浏览: 752288 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
梦行Monxin商城系统:
java网上商城与php网上商城比较 -
梦行Monxin商城系统:
java网上商城与php网上商城比较 -
任楚娴:
你好,请问html = nvl(html); 这句中的nvl( ...
java html串转换成文本串 -
u013246812:
,谢拉!
jQuery ui Dialog 讲解参数 -
大宝剑99:
...
前端优化
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>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"
发表评论
-
Chrome扩展程序-BES Blocker
2020-11-27 08:35 266## 使用说明 - Change the response ... -
全国最新行政区划代码(Tree)json数据以及地理数据
2020-11-11 21:23 389基于阿里提供的地理数据 http://datav.aliyun ... -
百度搜索api
2020-11-07 15:26 702<div class="iteye-blog- ... -
Puppeteer 说明记录
2020-11-06 10:52 651<div class="iteye-blo ... -
文本水印
2019-12-20 17:55 479打开控制台,copy如下代码: (functio ... -
unicode字符集特殊符号对应html/js/css符号
2019-04-24 14:46 799转自: http://www.cnblogs.com/cha ... -
网站灰度支持
2015-01-02 07:22 9061 <style>html {overflo ... -
js 端排序 获取td里边的内容去html串化
2014-09-26 18:12 885<script> function delHtml ... -
ie浏览器下的css expression使用
2014-03-06 16:39 1235针对ie浏览器有些情况下显示效果比较差,所以针对ie ... -
输入框自动填充效果 js
2013-12-28 15:58 6084<!doctype html> ... -
js 屏蔽form的onkeydown onkeyup onkeypress 的13按键
2013-07-11 10:49 1836js 屏蔽form的onkeydown onkeyup on ... -
Cookie path的设置
2013-02-21 10:58 1958cookie path 设置 IE对如下的co ... -
html5 (标签一览)
2012-10-16 19:22 1024html5 标签 按字母顺序排 ... -
一键分享腾讯微博,新浪微博等api(WEB 版)
2012-08-10 09:38 10454腾讯微博分享 <script type=" ... -
DOJO js 基本dom操作
2012-06-20 09:44 4625/** ** 基本的DOM操作只是用到了dojo的核 ... -
原始ajax api 操作
2012-04-12 18:00 1102String.prototype.trim = func ... -
js 动态 添加 删除 tr
2012-04-12 17:27 5769今天给新人出了一道题: dom 和 javascrip ... -
ie8下 vml
2012-04-01 13:51 1689近期在做web流程设计器,在ie7下没有问题,显示出来了,但是 ... -
flex vs html5
2011-12-18 18:09 2169何时使用HTML5,而不是Fl ... -
java毕业设计 计算机毕业设计 软件定制开发
2011-10-01 07:00 86工作室承接各种毕业设计以及软件定制开发。 java毕业设计 ...
相关推荐
在Struts2框架中,处理文件上传时,需要正确识别文件类型并设定对应的MIME类型(ContentType),这对于确保文件被正确解析至关重要。下面将详细介绍部分常见的文件扩展名及其对应的ContentType,以及这些类型的含义...
4. `ContentType`:设定邮件的MIME类型,如`JMail.ContentType = "text/html"`,默认是"text/plain",如果要发送HTML格式的邮件,应将其设置为"text/html"。 5. `DeferredDelivery`:用于设置延期发送邮件的时间,...
<%@ page contentType="text/html;charset=gb2312" language="java" import="java.util.*, com.jspsmart.upload.*" %> <html> 文件上传处理页面 <meta http-equiv="Content-Type" content="text/html; charset...
在`struts.xml`中,为Action添加一个流结果,指定其类型为`stream`,并设置`contentType`属性为对应的图像类型,如`image/jpeg`,同时将生成的图像写入到`OutputStream`。 在前端展示时,可以使用HTML的`<img>`标签...
在HTML表单中,Enctype属性指定将数据回发到服务器时浏览器使用的编码类型。application/x-www-form-urlencoded是默认的编码格式,当action为get时,浏览器会将form数据转换成一个字串(name1=value1&name2=value2.....
ASP.NET中的`.ashx`文件是一种称为HTTP处理程序(HTTP Handler)的特殊文件类型,用于处理特定类型的HTTP请求。与`.aspx`文件不同,`.ashx`文件不用于生成HTML页面,而是用于动态生成非HTML内容,如图片、XML文件...
下载说明.txt文件可能包含了获取更多教程资源的步骤,而"A5下载- 更全的站长资源平台.url"则是一个网址链接,指向一个提供丰富站长资源的平台,可能包括更多的ASP教程、代码示例和其他相关工具。 总的来说,学习并...
4. **ContentType 属性**: 设置输出的内容类型。 - **语法**: `Response.ContentType = "text/html"` - **说明**: 定义输出格式。 5. **Expires 属性**: 设置浏览器缓存过期时间。 - **语法**: `Response....
下面通过一个具体的例子来进一步说明不同类型的注释在JSP中的应用: ```jsp <%@ page language="java" contentType="text/html; charset=UTF-8" %> <!DOCTYPE html> <html> <title>JSP 注释示例 欢迎来到 JSP ...
<%@ page contentType="text/html;charset=GBK" import="java.util.*,com.jspsmart.upload.*" errorPage="" %> <html> 文件上传处理页面 <meta http-equiv="Content-Type" content="text/html; charset=gb2312...
登录拦截器则是其中一种常用的拦截器类型,它主要用于确保只有经过认证的用户才能访问特定的资源或功能。 #### 二、需求分析 根据给定文件中的描述,本示例的需求是:要求用户登录,并且必须为指定用户名才可以...
在`testimage.jsp`中,页面首先通过JSP指令`<%@ page contentType="text/html;charset=gb2312" %>`设置了页面内容类型为HTML,并指定了字符编码为GB2312,以确保中文字符正确显示。然后通过`*" %>`导入了Java SQL包...
- **页面编码设置**:设置JSP页面的编码格式,如`<%@ page contentType="text/html;charset=UTF-8" language="java" %>`。 - **页面注释**:可以在文件顶部添加自定义的页面注释。 ##### 4. Servlet.java `Servlet...
- 删除 `map.jsp` 和 `map1280.jsp` 文件中的 `<%@ page contentType="text/html;charset=GBK" %>` 行。 - 修改 `mapcommon.jsp` 和 `mapcommon1280.jsp` 文件中的第 5 行代码为: ``` showTitle = new String...
response.ContentType = "text/html"; // 将处理结果写入响应 response.Write(result); } private string ProcessRequest(string data) { // 这里实现你的业务逻辑 return "数据已处理:" + data; } } ``...
`Response.ContentType`用于设置HTTP响应的MIME类型,确保浏览器正确解析内容。`Server.CreateObject`创建了一个数据库连接对象,接着执行SQL查询获取数据,并通过`Response.Write`将结果输出到页面上。 接下来,...
- `page` 指令:`<% page contentType="text/html;charset=GB2312"%>` 用于设置页面的MIME类型和字符编码。在这个例子中,设置了内容类型为HTML,编码为GBK。 2. **脚本元素(Scriptlets)**: - `<%...%>` 用于...
- 返回的响应参数包括机构编号、返回码、消息说明、商户编号、商户订单编号、平台订单号(非必填)、业务内容类型(非必填)、业务内容(非必填)、订单状态(非必填)、状态描述(非必填)和签名。 7. **支付结果...
这里设置了页面的语言为Java,内容类型为HTML,并定义了字符编码。 3. **JSP脚本元素** 脚本元素包括脚本声明、脚本表达式和脚本块。例如: - 脚本声明:`! ... %>`,用于声明变量或方法。 - 脚本表达式:`...
- **contentType** - 类型:String - 默认值:"application/x-www-form-urlencoded" - 描述:指定发送数据至服务器时的内容类型,默认值适合大多数情况。 - **context** - 类型:Object - 描述:用于设置 ...