Z.B.
<c:if test="${post}">
<h3>${post.title}</h3>
</c:if>
Verwenden Sie das leere Schlüsselwort
<c:if test="${not empty post}">
<h3>${post.title}</h3>
</c:if>
Sie können auch '!' statt 'nicht':
<c:if test="${!empty post}">
<h3>${post.title}</h3>
</c:if>