dwr出现session error
把项目冲tomcat6迁移到tomcat7之后,在项目运行中发现用到dwr的地方出现了session error错误,
网上搜了一下,是因为tomcat7的安全机制。
解决方法:
在项目的web.xml中的dwr配置中,添加参数
<init-param>
<param-name>crossDomainSessionSecurity</param-name>
<param-value>false</param-value>
</init-param>