1

I'm using Spring Boot with Mustache templates. The "securing web" guide https://spring.io/guides/gs/securing-web/ uses thymeleaf for templating. Because of this the template can use Spring EL expressions like:

<div th:if="${param.error}">
  Invalid username and password.
</div>

How do I use Spring EL with Mustache templates? The nex snippet doesn't work:

{{${param.error}}}

And the official sample have no examples either.

sanrodari
  • 1,602
  • 2
  • 13
  • 23

0 Answers0