今天搭建spring mvc ,结果发出请求总是No mapping found for HTTP requestwith URI [******]于是开始排查了半天,后来在网上搜到了双亲上下文的概念,才知道springmvc的每一个DispatcherServlet都会产生一个WebApplica...
分类:
移动开发 时间:
2014-09-12 11:39:43
阅读次数:
210
Spring provides its own implementation of remoting service known asHttpInvoker. It can be used for http request than RMI and works well across the fir...
分类:
编程语言 时间:
2014-09-11 19:12:02
阅读次数:
388
angular作为Single Page Application推荐的交互方式当然是基于json的ajax调用。但今天要说的是当你不幸工作在一个遗留或者不可控制的服务上,而这服务是基于非json提交方式(或许是常规表单(form)提交,或者其他自定义数据格式),那么我们只能改变ng内部$http默认...
分类:
其他好文 时间:
2014-09-03 08:22:46
阅读次数:
163
最近好多应用都用到了HTTP,然后每次使用,都重新找一遍资料,没有把知识总结起来,学不到什么。现在总结下之前遇到的情况的处理方式。1:WP8.1 httpRequest异步读取数据 GET 1 async ReadUrlAsync(int tempid) 2 { 3 4 5 ...
分类:
其他好文 时间:
2014-08-31 01:40:00
阅读次数:
159
非常多的Web框架都實踐一個叫做MVC的軟體架構設計模式,將軟體分成三個部分:Model物件包裝了資料與商業邏輯,例如操作資料庫View表示使用者介面,顯示及編輯表單,可內嵌Ruby程式的HTMLController負責將資料送進送出Model,處理從外界(也就是瀏覽器)來的HTTP Request...
分类:
Web程序 时间:
2014-08-29 12:42:27
阅读次数:
214
一、cookie的基本特性如果不了解cookie,可以先到wikipedia上学习一下。http request浏览器向服务器发起的每个请求都会带上cookie:GET /index.html HTTP/1.1Host: www.example.orgCookie: foo=value1;bar=v...
分类:
其他好文 时间:
2014-08-25 18:27:34
阅读次数:
189
AndroidAsync is a low level network protocol library. If you are looking for an easy to use, higher level, Android aware, http request library, check out?Ion?(it is built on top of AndroidAsync)....
分类:
移动开发 时间:
2014-08-24 20:57:53
阅读次数:
358
花了一个星期学习文件服务器,老是在一些地方搞混,整理一下所学的,清晰了不少。学Go半个月,还有很多不懂的地方,有理解错误的,还望高手指出。注:以下代码中,w为http.ResponseWriter类型, r为*http.Request类型1、先该清楚一些类型的意义:Handler:处理请求和生成返回...
分类:
其他好文 时间:
2014-08-23 15:12:30
阅读次数:
208
--lua代码localhttp=require"socket.http"localltn12=require("ltn12")request_body=‘u=1¶meter={"m":"S"}‘localresult=http.request{url="http://127.0.0.1/2.php",sink=ltn12.sink.file(io.stdout),method="POST",headers={["Content-Type"]="application/x-www-form..
分类:
其他好文 时间:
2014-08-21 19:41:35
阅读次数:
489
在文件src\http\ngx_http_core_module.c的函数ngx_http_core_run_phases(ngx_http_request_t *r)里面,添加如下代码://声明部分 ngx_str_t* name; ngx_http_variable_value_t*...
分类:
其他好文 时间:
2014-08-18 17:56:22
阅读次数:
1094