<c:if test="${not empty object }"> ${object}不为空 </c:if> 转载于:https://www.cnblogs.com/toSeeMyDream/p/6378262.html