Spring Boot: Remove attribute from session using Thymeleaf

 

Spring Boot: get attribute from session using Thymeleaf 

"${session.VariableName}"


Spring Boot: Remove attribute from session using Thymeleaf 

<th:block th:inline="text"> [[${#session.removeAttribute('variableName')}]]</th:block>




Comments