摘要: 项目:3个filter,3个servlet,匹配的url路径/hello。情况1:servlet没加<load-on-startup></load-on-startup>情况(web.xml配置顺序:first filter,second filter,third filter,first servlet,second servlet,third servlet):初始化tomcat时: this is the first filter init()..... this is the third filter init().... this is the second 阅读全文
posted @ 2011-07-20 17:30 Spring MVC 3 阅读(1475) 评论(0) 推荐(0) 编辑
摘要: 问题:当frame框架下引用了另外一个站点的网页的话,session会存在丢失的情况。解决方案是,加入如下代码:response.addHeader("P3P", "CP=CAO PSA OUR") 阅读全文
posted @ 2011-07-20 15:53 Spring MVC 3 阅读(273) 评论(0) 推荐(0) 编辑