Thymeleaf + print session variable on page
Use these code snippet to add session data to html/jsp page without touching ANY java code.
[sourcecode language=”html”]
<h4 style=”color: white;” th:text=”${#ctx.httpSession.id}”>SessionID </h4>
[/sourcecode]