Accessing the Database from a Thymeleaf Template
This week, I had a student ask me how they could use a Java function to access the database from a Thymeleaf template. Thymeleaf is a modern templating engine. And accessing the database directly from Thymeleaf is certainly something you could do. But is it really something you want to do? I’ve worked for a […]Continue reading