SyntaxFix
Write A Post
Hire A Developer
Questions
I use
<div th:text ="${variable != null} ? (${variable != ''} ? ${variable} : 'empty string message') : 'null message' "></div>