I want to get the JSESSIONID of Tomcat on the client side. Is that possible? If yes, how?
Thanks
I want to get the JSESSIONID of Tomcat on the client side. Is that possible? If yes, how?
Thanks
It depend on how is the JSESSIONID transmitted:
document.location
However I don't see much of a reason to do so.
You need to give a ajax call to your server code like Spring controller or Servlets and get the response string as JSESSIONID and then store it in the javascript, only after your DOM is fully loaded .