1. Accept:告诉WEB服务器自己接受什么介质类型,*/* 表示任何类型,type/*
表示该类型下的所有子类型,type/sub-type。2. Accept-Charset: 浏览器申明自己接收的字符集Accept-Encoding:
浏览器申明自己接收的编码方法,通常指定压缩方法,是否支...
分类:
Web程序 时间:
2014-05-26 08:49:31
阅读次数:
223
写在前面的话XMLHttpRequest对象的open方法的第一个参数为request-type,取值可以为get或post.本篇介绍get请求.get请求的目的,主要是为了获取数据.虽然get请求可以传递数据,但传递数据的目的是为了告诉服务器,给我们什么内容.使用get请求时,参数都是随url进行...
分类:
其他好文 时间:
2014-05-26 07:57:01
阅读次数:
230
写在前面的话:XMLHttpRequest对象的open方法的第一个参数为request-type,取值可以为get或post.本篇介绍post请求.使用post方式时,浏览器会把各表单中字段元素及其数据作为Http消息的实体内容发送给Web服务器.使用post方式时,要注意设置Content-Ty...
分类:
其他好文 时间:
2014-05-26 07:51:19
阅读次数:
247
报错:Access restriction: The method
decodeBuffer(String) from the type CharacterDecoder is not accessible due to
restriction on required libraryAccess r...
分类:
数据库 时间:
2014-05-26 07:30:24
阅读次数:
279
这里不讲vsftpd的基本配置,网上教程已经太多了。这里只说seLinux的问题。日前在CentOS6.5中安装了vsftpd,按照网上搜索的教程,配置好/etc/vsftpd/vsftpd.conf,重新启动后,登录实验,又出现了著名的不能设置主目录错误:500
OOPS: cannot chan...
分类:
系统相关 时间:
2014-05-26 06:40:58
阅读次数:
468
onFling will get executed when a user makes a
"fling" motion, and said motion has a velocity with it to determine the type of
fling it was. However,.....
分类:
移动开发 时间:
2014-05-26 06:23:31
阅读次数:
443
ref: JNI typeThe mapping between the Java type
and C type is:Type SignatureJava
TypeZbooleanBbyteCcharDdoubleFfloatIshortJlongLobjectSshortVvoidLfull....
分类:
其他好文 时间:
2014-05-26 06:21:24
阅读次数:
203
ImLazy是个人使用的小程序,抽时间在公司写了个ruby版本,未完成equals_verb#
To change this template, choose Tools | Templates# and open the template in the
editor.require "SDK/ve...
分类:
其他好文 时间:
2014-05-24 12:51:59
阅读次数:
496
-----------android培训、java培训、java学习型技术博客、期待与您交流!---------注解是java
的一个新的类型(与接口很相似),它与类、接口、枚举是在同一个层次,它们都称作为java
的一个类型(TYPE)。它可以声明在包、类、字段、方法、局部变量、方法参数等的前面,...
分类:
编程语言 时间:
2014-05-24 10:46:09
阅读次数:
294
因为网页上还有其他内容,所以header("Content-type:image/jpeg");
位置已经被占用,验证码不能出现了,就会出现图像“http://localhost/**.php”因其本身有错,无法显示”那么,解决这个问题的最简单的办法就是,直接删除header("Content-ty...
分类:
Web程序 时间:
2014-05-24 10:29:56
阅读次数:
308