F719尝试写随笔:content-disposition,inline
来源:互联网 发布:淘宝视频直播内容下载 编辑:程序博客网 时间:2024/06/06 19:36
学JSP的时候碰到:
response.setHeader("Content-Disposition","inline;filename="+filename);
不明所以,搜罗了一下得知。
attachment;* 表示下载,inline;*表示在网页内显示。
用于非文档文件(比如MIME为image/gif)的显示 or 下载,content-disposition区别了,下载和显示。
0 0
- F719尝试写随笔:content-disposition,inline
- Content-disposition中Attachment和inline的区别
- Content-disposition中Attachment和inline的区别
- Content-disposition中Attachment和inline的区别
- Content-disposition中Attachment和inline的区别、ContentType设置
- Content-disposition中Attachment和inline的区别
- Content-disposition中Attachment和inline的区别
- 文件上传Content-disposition中Attachment和inline的区别
- Content-Disposition
- Content-Disposition
- Content-disposition
- Content-disposition
- Content-disposition
- Content-disposition
- Content-disposition
- Content-disposition
- Content-disposition
- F71A尝试写随笔:Filter
- 自定义转场动画
- 360浏览器 极速模式下,有些幻灯图片不显示,但其它火狐和IE浏览器都显示
- poj 1459 多源汇最大流
- html元素li的value属性
- android WIFI信息获取
- F719尝试写随笔:content-disposition,inline
- Server对象,HttpServerUtility/HttpServerUtilityBase类
- ubuntu 10.10 的 输入法图标不见了
- eclipse 基本设置
- Decorator——结构型模式
- G - Give Me the Number --- (first qualifying)
- 再谈循环嵌套
- PopupWindow点击外部区域消失(三)
- ssh 反向代理