I read another answer on stack overflow where use of session variables stored by spring mvc from jsp pages is explained.
What I wish to know is, can I access such session variables from JavaScript code in HTML front end for a web app that uses spring for it's backend? If yes then how do I access session variables from JavaScript ?