thymeleaf controllare se il valore è null o vuoto
<div th:if= "${searchResults.results != null}">
thymeleaf è la stringa vuota
<p th:text="${#strings.isEmpty(string)}"></p>
<p th:text="${#strings.isEmpty(nullString)}"></p>
<p th:text="${#strings.defaultString(emptyString,'Empty String')}"></p>