1
2
<c:if test="${empty str}"> str为空 </c:if>
<c:if test="${not empty str}"> str不为空 </c:if>
Post
Cancel
EL表达式标签判断参数是否为空
This post is licensed under
CC BY 4.0
by the author.