有点想哭的描述:开发的框架是spring+struts2+hibernate
在tomcat6上面开发调试的
由于应用需要不同的action实例所以用了spring配置 scope="session"
在tomcat下面可以,但是发布到websphere6上面就不行了(登陆都不行,日志不报什么错,就是页面提示找不到)
后来把scope改成prototype,可以登陆进去了.但是业务操作的时候必须要用到一些session信息和全局变量
(prototype类型为每次的请求都创建一个新的action实例,这样业务的逻辑就挂掉一大片了)在web.xml里已经配置了<listener>
   <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
</listener>后来以为是servlet容器版本低于2.0的原因把
<filter> 
    <filter-name>requestContextFilter</filter-name> 
    <filter-class>org.springframework.web.filter.RequestContextFilter</filter-class>
 </filter> 
 <filter-mapping> 
    <filter-name>requestContextFilter</filter-name> 
    <url-pattern>/*</url-pattern>
 </filter-mapping>
也写了进去
还是不行,很郁闷
为什么用singleton、prototype可以
但是用spring2.0新属性session在websphere6就完全没反应呢折腾了我整整2天,我感觉要崩溃了
有没有有朋友遇到过我这样的情况啊?
或者请高人大侠们解答,辛苦了