JSTL C标签 <c:if>判断参数是否为空

来源:互联网 发布:找数据哪些网站好 编辑:程序博客网 时间:2024/04/30 03:41

<c:if test="${empty str}">  str为空</c:if>

 

<c:if test="${not empty str}">  str不为空</c:if>

2 0