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

xiaoxiao2021-02-28  112

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

 

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

<s:if test="str!=null&&str.length()>0">

转载请注明原文地址: https://www.6miu.com/read-33005.html

最新回复(0)