码迷,mamicode.com
首页 >  
搜索关键字:content types    ( 28945个结果
Content-type 的说明
如果要将查询结果导出到Excel,只需将页面的Context-Type修改一下就可以了:header( "Content-Type: application/vnd.ms-excel">如果希望能够提供那个打开/保存的对话框,Content-Disposition参数,Content-Disposi...
分类:其他好文   时间:2014-05-26 15:51:15    阅读次数:172
Tomcat7配置数据源(Oracle)
修改../conf/content.xml WEB-INF/web.xml --> --> 并将ojdbc6.jar拷贝到tomcat的lib目录下,以上则配置好了Oracle数据源。在使用时需要在web.xml中加入: hpms...
分类:数据库   时间:2014-05-26 13:55:00    阅读次数:365
Intent启动照片或者相机
1、Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("image/*"); intent.putExtra("crop", true); in...
分类:其他好文   时间:2014-05-26 12:00:15    阅读次数:230
android 修改listview中adapter数据时抛出异常java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification问题
近日在做项目时遇到非必现crush,具体异常信息为:// Short Msg: java.lang.IllegalStateException// Long Msg: java.lang.IllegalStateException: The content of the adapter has ch...
分类:移动开发   时间:2014-05-26 10:08:36    阅读次数:590
ruby 基础笔记
变量定义(variables):local: time or _time instance: @time class: @@time global $time数据类型(data types)Numeric String Symbol Boolean Array Hashvariabl...
分类:其他好文   时间:2014-05-26 09:39:54    阅读次数:217
python 的var_dump
from __future__ import print_functionfrom types import NoneType__author__ = "Shamim Hasnath"__copyright__ = "Copyright 2013, Shamim Hasnath"__license_...
分类:编程语言   时间:2014-05-26 09:29:50    阅读次数:495
MVC 返回ActionResult 类型
1. Content() 返回文本类型,比如"Hello World!".2.File() 返回文件类型,如PDF,JPG.3.HttpNotFound() 返回404 HTTP 状态码.4.JavaScript() 返回Javascipt 内容. 如 function test(){al...
分类:Web程序   时间:2014-05-26 08:27:06    阅读次数:400
Post请求
写在前面的话:XMLHttpRequest对象的open方法的第一个参数为request-type,取值可以为get或post.本篇介绍post请求.使用post方式时,浏览器会把各表单中字段元素及其数据作为Http消息的实体内容发送给Web服务器.使用post方式时,要注意设置Content-Ty...
分类:其他好文   时间:2014-05-26 07:51:19    阅读次数:247
IIS mp4
1) Select the site to configure in IIS, right click and select "Properties"2) Under HTTP Headers Tab, select "File Types" under the MIME Map section a...
分类:其他好文   时间:2014-05-24 09:08:53    阅读次数:299
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!