Request.QueryString["id"] 只能读取通过地址栏参数传递过来的名为id的参数。Request["id"]是一个复合功能读取函数。它的优先级顺序为QueryString > Form > Cookies > ServerVariables也就是说,如果存在名为id的地址栏参数,R...
分类:
其他好文 时间:
2014-07-18 08:37:40
阅读次数:
169
Chain of Responsibility in the Real WorldThe idea of the Chain Of Responsibility is that it avoids coupling the sender of the request to the receiver,...
分类:
其他好文 时间:
2014-07-18 08:36:38
阅读次数:
294
1 --查找bad sql的方法: 2 3 select * from (select buffer_gets, sql_text 4 5 from v$sqlarea 6 7 where buffer_gets >500000 8 9 order by buff...
分类:
数据库 时间:
2014-07-18 08:29:41
阅读次数:
252
1.Response对象2.Request对象3.ViewState对象4.Sever对象5.Cookies对象6.Session对象7.Appliceation对象Cookie:是一种网站服务器往客户端内存或硬盘保存少量数据(4kb左右)的一种技术。利用此可以作为验证用户登陆的一种手段以及保存用户...
分类:
Web程序 时间:
2014-07-18 08:24:51
阅读次数:
297
查看nginx下面两个参数 值是否满足client_header_buffer_size 512k;large_client_header_buffers 4 512k;满足依然出现如果nginx是做反向代理设置gunicorn 参数--limit-request-line 8188 (默认是409...
分类:
其他好文 时间:
2014-07-18 08:15:37
阅读次数:
833
昨天接到了一个测试接口的任务,接口的请求参数和返回结果均是JSON字符串,先是使用了函数web_submit_date,执行时报错,查询资料没找到原因,不知道是不是不支持JSON串,有兴趣的可以自己试下。然后尝试用web_custom_request函数,执行后返回的结果都正确,ok,就它了。web_cu..
分类:
Web程序 时间:
2014-07-17 21:13:24
阅读次数:
594
例如:下载openstackH版的所有包wget-c-r-nphttp://repos.fedorapeople.org/repos/openstack/openstack-havana/epel-6/-c断点续传-r递归下载,下载指定网页某一目录下(包括子目录)的所有文件-nd递归下载时不创建一层一层的目录,把所有的文件下载到当前目录-np递归下载时不搜..
分类:
其他好文 时间:
2014-07-17 19:39:22
阅读次数:
185
一、下载pip并安装
# wget --no-check-certificate https://pypi.python.org/packages/source/p/pip/pip-1.4.tar.gz#md5=ca790be30004937987767eac42cfa44a
# tar -zxf pip-1.4.tar.gz
# cd pip-1.4
# python setup....
分类:
编程语言 时间:
2014-07-17 19:32:09
阅读次数:
271
(非原创)在jsp页面中使用request.getRealPath("/")时出现下列警告:The method getRealPath(String) from the type ServletRequest is deprecated出现该警告,该方法已经不能使用了Deprecated. As ...
分类:
Web程序 时间:
2014-07-17 18:10:26
阅读次数:
248
描述:从客户端中检测到有潜在危险的Request.Form值的解决方法asp.net 2.0 通常解决办法将.aspx文件中的page项添加ValidateRequest="false"或者修改配置文件
分类:
其他好文 时间:
2014-07-17 17:30:19
阅读次数:
173