I have some values in my database which can be null if they have not already been entered.
But when I use Thymeleaf in my html, it gives an error when parsing null v
This can also be handled using the elvis operator ?: which will add a default value when the field is null:
?: