頁(yè)面dubietyPosition.jsp:
Java代碼

<%@ page language="java" contentType="text/html; charset=GBK" %>
<%@ page import="...weihu.vo.DubietyPosition" %>
<%@ page import="...weihu.dao.DubietyPositionDao" %>
<%@ page import="...weihu.util.Page" %>
<%@ page import="java.util.List" %>
<%@ page import="java.util.Iterator" %>
<%@ page import="....util.Log" %>
<%
//從...weihu.DubietyPositionDao獲得數據庫的相關(guān)操作
DubietyPositionDao dpDao=null;
//顯示的內容
List listDP=null;
//用于做分頁(yè)
Page page1=null;
[b]try{
page1=new Page();
dpDao=page1.getDao();
String currentPageNo=request.getParameter("currentPageNo");
if(currentPageNo!=null){
page1.refresh(Integer.parseInt(currentPageNo));
}
String pageMethod=request.getParameter("pageMethod");
if(pageMethod!=null){
if(pageMethod.equals("first")){
page1.first();
}else if(pageMethod.equals("last")){
page1.last();
}
}
listDP=page1.getCurrentPage(page1.getCurrentPageNo(),page1.getPageSize());
}catch(Exception e){
Log.error(this, "dubietyPosition.jsp", e.getMessage());
}[/b]
//記錄編號
int i=(page1.getCurrentPageNo()-1)*page1.getPageSize()+1;
%>
可疑職位信息篩選
...
聯(lián)系客服