判断值:
<c:if test="${limit==1}"></c:if>
这样就可以,直接在里面进行比较,顺便说下两个条件的
而且
<c:if test="${limit==1 && limit!=2}"></c:if>
或者
<c:if test="${limit==1 || limit!=2}"></c:if>
注意:判断字符串的话,加单引号,
判断为空直接写null
<c:if test="${empty value}"> value为空 </c:if>
<c:if test="${not empty value}"> value不为空 </c:if>