-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
depending on your tomcat version there's either a legacy mechanism or a web.xml based configuration, summarized here:
https://fralef.me/tomcat-disable-jsessionid-in-url.html
or here
https://stackoverflow.com/questions/962729/is-it-possible-to-disable-jsessionid-in-tomcat-servlet
2 | No.2 Revision |
depending on your tomcat version there's either a legacy mechanism or a web.xml based configuration, summarized here:
https://fralef.me/tomcat-disable-jsessionid-in-url.html
or here
https://stackoverflow.com/questions/962729/is-it-possible-to-disable-jsessionid-in-tomcat-servlet
from tomcat 7+ add this to your web.xml, which will disable the JSESSIONID in the URL
<session-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>