我正在使用以下代码来获取http会话。
HttpSession session = request.getSession(true);
这在glassfish服务器中运行良好。但它在weblogic服务器(12.1.2版本(中返回了一个空值
有人能描述如何解决这个问题吗。这将非常有帮助。提前谢谢。
request.getSession(true(返回null的唯一方法是活动会话数超过maxActiveSessions