<c:if>判断参数是否为空

来源:互联网 发布:软件销售代理商 编辑:程序博客网 时间:2024/05/01 12:27
<c:if test="${empty str}">  str为空</c:if>
<c:if test="${not empty str}">  str不为空</c:if>
原创粉丝点击