Skip to content
Advertisement

Tag: templates

Looking for a template engine which supports JsonPath (Java)

I’m developing a microservice (let’s call it email microservice) which generates emails from HTML templates. Basically, the client sends a json with some data to the email microservice, and based on that data it has to generate an email (populate fields in html template with values coming in the json). The client is our other microservice, which prepares json and

Thymeleaf: how to get URL attribute value

I can’t find any solution for getting attribute from URL using Thymeleaf. For example, for URL: I need to get “error” attribute value. Also I’m using SpringMVC, if it could be helpful. Answer After some investigation I found that it was Spring EL issue actually. So complete answer with null checking is:

Advertisement