更新时间:2022-03-10 10:19:06
使用空关键字
<c:if test="${not empty post}"> <h3>${post.title}</h3> </c:if>
我如何检查是否使用jstl设置了属性(不是null且不是空字符串)?