if判断c标签
<c:if test="${pageUtil.current_page>1}">
<span onclick="toPage(1)" style="cursor: pointer">首页</span>
<span onclick="toPage(${pageUtil.current_page-1})" style="cursor: pointer">上一页</span>
</c:if>
当test中条件为true,<c:if>标签中的内容才会显示
<c:if test="${pageUtil.current_page>1}">
<span onclick="toPage(1)" style="cursor: pointer">首页</span>
<span onclick="toPage(${pageUtil.current_page-1})" style="cursor: pointer">上一页</span>
</c:if>
当test中条件为true,<c:if>标签中的内容才会显示