码迷,mamicode.com
首页 >  
搜索关键字:request processing f    ( 21078个结果
forward 和redirect
1. forward方法使用request.getRequestDispatcher(path).forward(request.response);首先来看getRequestDispatcher方法,path必须是相对路径。getRequestDispatcherRequestDispatche...
分类:其他好文   时间:2014-09-28 15:20:32    阅读次数:749
使用Gson解析复杂、变态的Json数据
接口文档:app配置接口 client/init请求数据json={"uid":"","sid":"","ver":"1", "request":{}}返回数据{"ret":0, "response":{ "tag_category":{ "中国画":...
分类:Web程序   时间:2014-09-28 15:07:12    阅读次数:615
python 高阶函数
传入函数要理解“函数本身也可以作为参数传入”,可以从Python内建的map/reduce函数入手。如果你读过Google的那篇大名鼎鼎的论文“MapReduce: Simplified Data Processing on Large Clusters”,你就能大概明白map/reduce的概念。...
分类:编程语言   时间:2014-09-28 01:51:30    阅读次数:223
Python学习-20.Python的Urllib模块
除了 Http 模块可以模拟 Http 请求外,使用 Urllib 模块也是可以模拟 Http 请求的,只不过功能相对弱一点。1 import urllib.request2 3 opener = urllib.request.urlopen("http://www.baidu.com")4 byt...
分类:编程语言   时间:2014-09-28 01:37:30    阅读次数:205
Servlet-Filter
javax.servlet  Interface Filter public interface Filter A filter is an object that performs filtering tasks on either the request to a resource (a servlet or static content), or on the respon...
分类:其他好文   时间:2014-09-27 19:23:40    阅读次数:256
getServletPath方法
getServletPath java.lang.String getServletPath() Returns the part of this request's URL that calls the servlet. This path starts with a "/" character and includes either the servlet name or a path t...
分类:其他好文   时间:2014-09-27 18:00:10    阅读次数:403
nginx和php-fpm整合
nginx和php-fpm配置php的配置:1.viphp-fpm.conflisten_address192.168.2.22:9000;usernobody;去掉注释groupnobody;去掉注释2.allow_clients192.168.2.223.request_terminate_timeout=0去掉注释nginx的配置:原样:#location~\.php${#roothtml;#fastcgi_pass127.0.0.1:9000;#fa..
分类:Web程序   时间:2014-09-27 11:01:29    阅读次数:201
取消sqlserver 锁表
select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT'declare @spid i...
分类:数据库   时间:2014-09-27 02:35:48    阅读次数:203
mootools框架里如何使用ajax
ajax可通过直接写源码实现,但有点繁琐,现在流行的ajax框架都集成了ajax的功能,而且写起来非常简单方便。当然mootools也不例外。mootools是一个非常优秀的javascript的库,有些地方跟prototype颇有相似(指按面向对象做js)。mootools的Request实现了对...
分类:其他好文   时间:2014-09-26 23:05:38    阅读次数:647
Apache 关于 mod_rewrite 遇到 %2F或%5C (正反斜杠)等特殊符号导致URL重写失效出现404的问题
.htaccess 文件 RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] http://localhost/Application/Home/Index...
分类:其他好文   时间:2014-09-26 19:31:08    阅读次数:315
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!