1.HTTP状态码:1xx:信息性状态码
2xx:成功状态码200OK201CREATED
3xx:301永久重定向302临时重定向,会在响应报文中使用location:新位置
4xx:客户端类错误
403请求被拒绝
404页面不存在
405使用的方法不被允许
5xx:服务器类错误
500:服务器类错误
502:服务器网管错误
503..
分类:
其他好文 时间:
2014-08-15 02:54:47
阅读次数:
438
通过javascript库JQuery实现页面跳转功能代码的四段代码实例如下。实例1:1234$(function(){varpn = $("#gotopagenum").val();//#gotopagenum是文本框的id属性location.href ="NewList.aspx?pagenu...
分类:
编程语言 时间:
2014-08-15 01:15:26
阅读次数:
263
HTTP状态码HTTP持久 · 压缩 · 安全头字段ETag · Cookie · Referrer · Location · Do Not Track · X-Forwarded-ForHTTP状态码301 Moved permanently302 Found303 See Other403 Fo...
分类:
其他好文 时间:
2014-08-14 23:07:36
阅读次数:
344
1、ajax发送json字符串
组建对象
var student = new Object();
student.name = "柯乐义";
student.age = "25";
student.location = "广州";
var student2 = new Object();
student2.name = "柯范德萨";
student2.age = "45";
stude...
分类:
编程语言 时间:
2014-08-14 01:38:57
阅读次数:
318
1. “= ”,字面精确匹配, 如果匹配,则跳出匹配过程。(不再进行正则匹配)2. “^~ ”,最大前缀匹配,如果匹配,则跳出匹配过程。(不再进行正则匹配)3. 不带任何前缀:最大前缀匹配,举例如下: location / 代表以"/"开头的搜索匹配, 再没有正则表达式匹配的情况下才进行这个匹配(....
分类:
其他好文 时间:
2014-08-13 21:34:07
阅读次数:
235
Catch That Cow
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 46715
Accepted: 14673
Description
Farmer John has been informed of the location of a fugitiv...
分类:
其他好文 时间:
2014-08-13 19:00:57
阅读次数:
230
读了深入理解C#书中的 5.3.1 委托参数的逆变性,记录一下。先看一段代码:public Form1(){ InitializeComponent(); Button button1 = new Button {Text = "Click me 1", Location = new P...
分类:
其他好文 时间:
2014-08-13 18:27:36
阅读次数:
174
Problem Description
FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid location is labelled (p,q) where 0 <= p < n and 0 <= q < n. At e...
分类:
其他好文 时间:
2014-08-13 14:56:46
阅读次数:
236
Problem Description
There is a forest can be seen as N * M grid. In this forest, there is some magical fruits, These fruits can provide a lot of energy, Each fruit has its location(Xi, Yi) and the en...
分类:
其他好文 时间:
2014-08-13 10:36:35
阅读次数:
214
setTimeout(function(){window.location.reload();},1500);
分类:
其他好文 时间:
2014-08-13 03:52:45
阅读次数:
214