0

When I use this part

<th:block th:text="${#session.removeAttribute('msg')}"></th:block>

I face

An error happened during template parsing (template: "class path resource [templates/register.html]") org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/register.html]")

how to solve it?

I want to remove the message from session variable

mplungjan
  • 169,008
  • 28
  • 173
  • 236

0 Answers0