JSP分页查询实例代码
分页显示例子 [removed] function newwin(url) { var newwin = window.open(url,"newwin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=600,height=450"); newwin.focus(); return false; } [removed] [removed] function submit10() { self.location.replace("fenye.jsp") } [removed] intPageCount) intPage = intPageCount; %>
0) { //将记录指针定位到待显示页的第一条记录上 sqlRst.absolute((intPage - 1) * intPageSize + 1); //显示数据 i = 0; String CustomerID, EmployeeID; while (i < intPageSize && !sqlRst.isAfterLast()) { CustomerID = sqlRst.getString(1); EmployeeID = sqlRst.getString(2); %> ransitional//EN" >
分页显示例子 [removed] function newwin(url) { var newwin = window.open(url,"newwin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=600,height=450"); newwin.focus(); return false; } [removed] [removed] function submit10() { self.location.replace("fenye.jsp") } [removed] intPageCount) intPage = intPageCount; %>
0) { //将记录指针定位到待显示页的第一条记录上 sqlRst.absolute((intPage - 1) * intPageSize + 1); //显示数据 i = 0; String CustomerID, EmployeeID; while (i < intPageSize && !sqlRst.isAfterLast()) { CustomerID = sqlRst.getString(1); EmployeeID = sqlRst.getString(2); %>