%> %>
共<%=countPage %>页
当前第<%=currentlyPage %>页 首页 上一页 <tr>
<td colspan="6" align="center"> if(currentlyPage==1){
}
<%
<a href="index.jsp?pageNum=<%=currentlyPage+1 %>">下一页</a>
<a href="index.jsp?pageNum=<%=countPage %>">尾页</a> <% %>
共<%=countPage %>页
当前第<%=currentlyPage %>页
<a href="index.jsp?pageNum=1">首页</a> }else if(currentlyPage==countPage){
<a href="index.jsp?pageNum=<%=currentlyPage-1 %>">上一页</a>
下一页
尾页 <% %>
共<%=countPage %>页
当前第<%=currentlyPage %>页
<a href="index.jsp?pageNum=1">首页</a> }else{
<a href="index.jsp?pageNum=<%=currentlyPage-1 %>">上一页</a>
<a href="index.jsp?pageNum=<%=currentlyPage+1 %>">下一页</a>
<a href="index.jsp?pageNum=<%=countPage %>">尾页</a> <% %>
</td> </tr> </table> }