websphere session为空的问题
相同的war包,在tomcat上运行没问题,但是在websphere上(也是单机),session.getAttribute("XXX");却为null。
大致流程是这样的:
1.在jsp页面生产checkcode,并session.setAttribute("XXX",checkcode);
2.页面提交表单,在Controller在session中获取验证码
3.目前都是单机运行,没有做集群。
那么问题来了,在tomcat上没问题,但为什么到了websphere却拿到的是null呢?
websphere是ihs这个方式的。
之前没用过websphere,有没有高手,大神指定一二?感激不尽