How can i check if an attribute is set (not null and not an empty string) with jstl? [duplicate] April 4, 2023 by Tarik Use the empty keyword <c:if test="${not empty post}"> <h3>${post.title}</h3> </c:if>