thymeleafでnullチェックと空チェックを両方するには - `isEmpty`を使う ~~~html <th:block th:if="${#strings.isEmpty(hensu)}"> hensuが空、nullの場合にtrueになる。空白もtrue。 </th:block> ~~~