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.
我想知道,如何覆盖 jsessionid-cookie 设置,例如 httpoly、secure 等。我没有找到任何设置或其他简单的可能性来设置这些东西。它可能是web.xml会话配置下的内容,还是我可以通过 servlet 过滤器添加设置?
web.xml
你有什么建议。
在 web.xml 文件中,
<session-config> <cookie-config> <http-only>true</http-only> </cookie-config> </session-config>
你可以在里面看到