上一页 1 ··· 14 15 16 17 18
摘要: 英语不行,有货倒不出的感觉.推荐钟道隆的逆向英语法,重新拾起英语. 阅读全文
posted @ 2010-04-27 16:57 highriver 阅读(132) 评论(0) 推荐(0) 编辑
摘要: ContinuationFilter+ContinuationAPI可以与Tomcat容器一起工作.也就是要让Tomcat这样的Servlet2.5container(据说tomcat7会支持servlet3.0.目前的都是2.5)支持使用ContinuationAPI编程的Servlet,需要在web.xml中加入<filter> <filter-name>continu... 阅读全文
posted @ 2010-04-20 16:24 highriver 阅读(589) 评论(0) 推荐(0) 编辑
摘要: 由于Struts2的Action都继承自ActionSupport,客户端的每一次请求都会调用该类的execute方法并返回一个代表JSP页面的String,这是一种有求立即响应的模式.而对于Continuation,如果资源比较耗时,没有准备好,则将当前request suspend到一个Queue中,并且不返回response(什么时候返回:在资源就绪时,异步通知,比如通过httpclient... 阅读全文
posted @ 2010-04-19 14:56 highriver 阅读(547) 评论(0) 推荐(0) 编辑
摘要: client-> doFilter()中Chain.doFIlter()之前的代码->china.doFilter()->......->Action/Servlet.service()->doFilter()中Chain.doFIlter()之后的代码->client注意,doFilter()是F... 阅读全文
posted @ 2010-03-23 11:15 highriver 阅读(442) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18