I’ve been using JSP/JSTL for a long time with Netbeans and Tomcat, but now I’m tired of the silly template engine, so I decided to try Thymeleaf. It works just fine so far, but whenever I save a Thymeleaf template, I need to redeploy my application for the template to update.
How do I make Netbeans automatically update the deployed template file when I save it?
(I couldn’t add the “thymeleaf” tag because I have too few points.)
It seems to help when I disable caching of the template resolver.
Add this property to the template resolver bean: