jsp分页部分表现形式 <font> 当前页:第${pageView.currentpage}页 | 总记录数:${pageView.totalrecord}条 | 每页显示:${pageView.maxresult}条 | 总页数:${pageView.totalpage}页</font> <c:choose> <c:when test="${pageView.currentpage==1}"><b><font color="#FFFFFF">第1页</font></b></c:when><b> <c:otherwise><a href="javascript:topage('1')">第1页</a></c:otherwise> </b></c:choose><b> <c:if test="${pageView.currentpage>2}"><a href="javascript:topage('${pageView.currentpage-1}')">上一页</a></c:if> <c:if test="${pageView.currentpage!=1&&pageView.currentpage!=pageView.totalpage}"><b><font color="#FFFFFF">第${pageView.currentpage}页</font></b></c:if> <c:if test="${pageView.currentpage<pageView.totalpage}"><a href="javascript:topage('${pageView.currentpage+1}')">下一页</a></c:if> <c:choose> <c:when test="${pageView.currentpage<pageView.totalpage}"><a href="javascript:topage('${pageView.totalpage}')">末页</a></c:when> <c:otherwise><b><font color="#FFFFFF">末页</font></b></c:otherwise><b> </b></c:choose></b>
|
|