The example above will poll only once every 60 seconds (60,000 milliseconds). For many applications a response time of 60 seconds will be enough, and will allow a web server to handle a very large number of clients.
测试环境:IE8.0,Firefox 2.0,Windows xp sp2,Tomcat 6.0,MsSQL Server 2000 使用技术:Spring,Hibernate.Ext.DWR 用第一种配置的时候IE运行不了.报异常 "要完成操作的数据尚未准备好",Firefox可以. 第二种配置在maxWaitForWrite少于200的情况下IE运行正常,Firefox运行正常. 第三种配置只能打开一个连接.再想打开第二个则会报 java.lang.IllegaStateException:Cannot create a session after response has been commited 很是郁闷...若将maxWaitForWrite设置为100.则两个浏览器均没问题..但是浏览器久无刷新动作就无法从服务器调用客户端 这篇文章望抛砖引玉..各位讲下你们是如何配置的