<c:if test="${param.username}" >
</c:if>
如何检查 param.username 是否存在?
Use the not empty
check.
<c:if test="${not empty param.username}" >
</c:if>
编辑:如果您有以下形式的参数?username
(无价值),使用起来比较安全${param.username ne null}
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)