摘要: 引自:http://caizhenyao.iteye.com/blog/1747218DWR2.x的推技术也叫DWR Reverse Ajax(逆向Ajax)主要是在BS架构中,从服务器端向多个浏览器主动推数据的一种技术。在DWR所开的线程中使用Reverse Ajax时,通过WebContextFactory.get()获取WebContext对象,进而获取脚本Session。在DWR之外使用Reverse Ajax时,就要用到ServerContext,在Spring环境中要得到ServerContext,就需要用到Spring的ServletContextAware接口。一、Revers 阅读全文
posted @ 2014-03-05 12:00 叶汉城 阅读(2436) 评论(1) 推荐(0) 编辑