??
在用cookie保存用户名的时候,发现cookie值不能存中文,报如下错:
Control character in cookie value, consider BASE64 encoding your value
错误发生在:response.addCookie(cookie);
在以前的编程中也碰到过这样的问题,主要是cookie值里面存在非法参数,如存在”\r\n”、”\n...
分类:
其他好文 时间:
2014-08-23 11:21:00
阅读次数:
183
1. Package ControlGetPackage Control here.2. Theme - Phoenix and Flatland(扁平)If Sublime Text 2 is a highly tuned race car, then this plugin is the fl....
分类:
Web程序 时间:
2014-08-23 05:39:39
阅读次数:
647
A trusted computer system that offers Linux® compatibility and supports contemporary hardware speeds. It is designed to require no porting of common a...
分类:
数据库 时间:
2014-08-22 23:50:19
阅读次数:
441
解决Ajax跨域问题:Origin xx is not allowed by Access-Control-Allow-Origin.今天一个Ajax跨域问题,纠结我半天,记录之。 title 测试Ajax跨域问题没有结果,chrome用F12 下查看错误 得知:XMLH...
分类:
数据库 时间:
2014-08-22 22:26:59
阅读次数:
358
response.setHeader()下载中文文件名乱码问题 收藏1. HTTP消息头(1)通用信息头即能用于请求消息中,也能用于响应信息中,但与被传输的实体内容没有关系的信息头,如Data,Pragma主要: Cache-Control , Connection , Data , Pragma ...
分类:
其他好文 时间:
2014-08-22 16:07:59
阅读次数:
184
#include #include #include #include #include #include #include #include #include #include #include #include #include#includeusing namespace std;#def.....
分类:
其他好文 时间:
2014-08-22 00:19:25
阅读次数:
183
转载请注明出处http://blog.csdn.net/pony_maggie/article/details/27086877作者:小马什么是segmented control? 先上几张图: 这几幅图就是典型的segmented control UI视图, 第一幅是某个游戏程序,红色...
分类:
移动开发 时间:
2014-08-21 21:04:24
阅读次数:
294
keycode 8 = BackSpace BackSpacekeycode 9 = Tab Tabkeycode 12 = Clearkeycode 13 = Enterkeycode 16 = Shift_Lkeycode 17 = Control_Lkeycode 18 = Alt_Lkeyc...
分类:
Web程序 时间:
2014-08-21 19:11:44
阅读次数:
232
1674: [Usaco2005]Part AcquisitionTime Limit:5 SecMemory Limit:64 MBSubmit:259Solved:114[Submit][Status]DescriptionThe cows have been sent on a mission...
分类:
其他好文 时间:
2014-08-21 19:01:34
阅读次数:
205
网易公开课,第16课 notes,12 前面的supervised learning,对于一个指定的x可以明确告诉你,正确的y是什么 但某些sequential decision making问题,比如下棋或直升机自动驾驶 无法确切知道,下一步怎么样是正确的,因为这是一个连续和序列化的决策,比如直到...
分类:
其他好文 时间:
2014-08-21 18:43:24
阅读次数:
271