"); } Statement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE); ResultSet rs=stmt.executeQuery("select * from a order by sj desc"); int i=1; int pagesize=8; int pagecount; int rowcount; int gopage; rs.last(); rowcount = rs.getRow(); pagecount=(rowcount+pagesize-1)/pagesize; if(request.getParameter("page")!=null){ gopage = java.lang.Integer.parseInt(request.getParameter("page")); }else{ gopage=1;// } rs.absolute((gopage-1)*pagesize+1); while(i<=pagesize && !rs.isAfterLast()){ %>