错误原因:返回的数据类型与页面定义的接收类型不一样;
分类:
其他好文 时间:
2015-08-19 16:34:30
阅读次数:
91
200 ok //客户请求成功400 Bad Request //客户请求有语法错误,不能被服务器所理解401 Unauthorized // 请求未被授权,这个状态代码必须和WWW-authenticate包头一起使用403 Forbidden // 服务器收到请求,但是拒绝提供服务...
分类:
Web程序 时间:
2015-08-18 15:55:08
阅读次数:
101
今天执行脚本时发现如下错误:/bin/sh^M:badinterpreter:没有那个文件或目录错误分析:因为操作系统是windows,我在windows下编辑的脚本,所以有可能有不可见字符。脚本文件是DOS格式的,即每一行的行尾以\n\r来标识,其ASCII码分别是0x0D,0x0A.可以有很多种办法看这个文件是DOS格..
分类:
其他好文 时间:
2015-08-18 12:19:29
阅读次数:
84
机器时间同步的时候遇到原因是64位的系统运行32位的软件需要glibc但是机器因为glibc版本太旧或者没有安装导致解决办法yum-yinstallglibc.i686
分类:
其他好文 时间:
2015-08-17 12:18:40
阅读次数:
242
DescriptionThe aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because th...
分类:
其他好文 时间:
2015-08-16 19:42:58
阅读次数:
155
Problem A. Bad Horse
题意:给n个关系,每个关系有两个人,要求把这些人分成两组,每组里的人之间都没有关系。
二分图染色即可。关系=边,人=点。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define ll __int64
#def...
分类:
其他好文 时间:
2015-08-16 18:28:33
阅读次数:
229
显示这个页面的时候一般有几中解决方法:第一种就是如下图所示的方法:具体步骤是:1.也就是左下角win的“运行”中输入cmd进入doc窗口中2.输入代码:netstat -ano3.找到占用8080窗口的对应的PID4.使用这个方法关掉PIDhttp://jingyan.baidu.com/artic...
分类:
其他好文 时间:
2015-08-16 18:00:31
阅读次数:
258
SELECT GoodID,sum(if(Level = 1, 1, 0)) as Better,sum(if(Level = 0, 1, 0)) as Nomal,sum(if(Level = -1, 1, 0)) as Bad from evaluates GROUP BY GoodID;
分类:
数据库 时间:
2015-08-13 11:38:33
阅读次数:
194
DescriptionThe aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because th...
分类:
其他好文 时间:
2015-08-12 21:30:56
阅读次数:
123
面试题之一。
写一个装饰器wraps,它接收一个参数t,如果函数执行时间超过1秒,输出“bad”,否则输出“goods”。...
分类:
编程语言 时间:
2015-08-12 01:29:37
阅读次数:
206