Thymeleaf is a server-side template engine in Java.
Thymeleaf includes the following features:
- Processing logic specified via processors that apply to attributes in our tags.
- Expression objects which can be used in Themeleaf Standard Expression like
#arrays
,#dates
in order to perform the specialized operations.
In this post, I would like to share some tips to use it thoughtfully.
🍄 Check empty or not
How to check empty or not in array/list is as follows:
|