E.g.
<c:if test="${post}"> <h3>${post.title}</h3> </c:if>
Use the empty keyword
<c:if test="${not empty post}"> <h3>${post.title}</h3> </c:if>