How to enable samesite for jsessionid cookie
问题 How can i enable samesite for my web application which runs on wildfly as. Checked standalone.xml however could not find an appropriate tag within <servlet-container name="default"> <session-cookie http-only="true" secure="true"/> <jsp-config/> </servlet-container> 回答1: As for now the Java Servlet 4.0 specification doesn't support the SameSite cookie attribute. You can see available attributes by opening javax.servlet.http.Cookie java class. However, there are a couple of workarounds. You can