JSP分页问题,急啊 在线等高人指点
<%@ page contentType= "text/html;charset=gb2312 "%>
<%@ include file= "conn.jsp "%> //数据库的连接和相关定义
<html>
<head> <title> 通讯录 </title>
</head>
<body background= "image/zuobian.jpg ">
<a href= "index.jsp "> 返回 </a>
<%int ZGBH=0;
String zh=(String)session.getAttribute( "ZGBH ");//zgbh 为用户的编号,同过他找到用户的通讯录
if(zh!=null){
ZGBH=Integer.parseInt(zh);
if(request.getParameter( "flag ")==null){//如果没有查询就输出通讯录表
%>
<table class= "tab " width= "97% " align= "center " cellspacing=1 cellpadding=5 bgcolor=#999999 style= "word-break:break-all; ">
<tr>
<form name= "chacun " method= "post " action= "tliebiao.jsp ">
<td colspan= "7 " align= "right " bgcolor= "#66CCFF " > 按姓名查找
<input name= "lxrxm " type= "text " >
<input type= "submit " name= "submit " value= "查询 "/> </td> <input type= "hidden " name= "flag ">
</FORM>
</tr>
<tr bgcolor= "#2969b5 " height= "22 ">
<td width=8% align=center bgcolor= "#66CCFF " > <font color= "#ffffff " > <b> 姓名 <img src= "image/tou.bmp " /> </b> </font> </td>
<td width=12% align=center bgcolor= "#66CCFF "> <font color= "#ffffff "> <b> 移动电话 </b> </font> </td>
<td width=12% align=center bgcolor= "#66CCFF "> <font color= "#ffffff "> <b> 邮件 </b> </font> </td>
<td width=12% align=center bgcolor= "#66CCFF "> <font color= "#ffffff "> <b> 办公电话 </b> </font> </td>
<td width=15% align=center bgcolor= "#66CCFF "> <font color= "#ffffff "> <b> 工作单位 </b> </font> </td>
<td width=19% align=center bgcolor= "#66CCFF "> <font color= "#ffffff "> <b> 家庭地址 </b> </font> </td>
<td width=12% align=center bgcolor= "#66CCFF "> <font color= "#ffffff "> <b> 操作 </b> </font> </td>
</tr>
<tr bgcolor=#ffffff>
<td colspan=6 height=15> </td>
<td width= "10% "align= "center " ti