thymeleaf अगर जाँच अशक्त या खाली
<div th:if= "${searchResults.results != null}">
thymeleaf है स्ट्रिंग खाली
<p th:text="${#strings.isEmpty(string)}"></p>
<p th:text="${#strings.isEmpty(nullString)}"></p>
<p th:text="${#strings.defaultString(emptyString,'Empty String')}"></p>