Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我编写了一个非常简单的 JSP 文件来检查 OC4J (9.0.4.1) 和 OC4J (10.1.3.1) 中的会话。我找到:
任何人都有解决这个问题的线索?
源代码如下:
会话 ID 是 <%=session.getId()%>
在 v10 中,您可以检查default-web-site.xml 或 *-web-site.xmlshared中标记中的属性值吗<web-app>
shared
<web-app>
<web-app application="myApp" name="myWebApp" root="/myApp/" shared="true" />
默认值为假。设置为 true 时是否返回相同的 sessionID?