使用
not empty支票。
<c:if test="${not empty param.username}" ></c:if>编辑:如果您有形式的参数
?username(无值),则使用起来更安全
${param.username ne null}
使用
not empty支票。
<c:if test="${not empty param.username}" ></c:if>编辑:如果您有形式的参数
?username(无值),则使用起来更安全
${param.username ne null}