程序/qyrl/WebRoot/manager_query.jsp
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<jsp:directive.page import="java.util.List"/>
<%@ taglib prefix="html" uri="/WEB-INF/struts-html.tld"%><!-- 导入Struts框架中的html标签 -->
<%@ taglib prefix="logic" uri="/WEB-INF/struts-logic.tld"%><!-- 导入Struts框架中的login标签 -->
<%@ taglib prefix="bean" uri="/WEB-INF/struts-bean.tld"%><!-- 导入Struts框架中的bean标签 -->
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>人力资源管理系统--系统管理</title>
<link type="text/css" rel="stylesheet" href="css/style.css">
</head>
<script language="JavaScript">
function deleteForm(date){
if(confirm("确定要删除此管理员吗?")){
window.location.href="manager.do?method=deleteManager&id="+date;
}
}
</script>
<jsp:useBean id="pagination" class="com.wy.tool.MyPagination" scope="session"></jsp:useBean>
<%
String str=request.getParameter("Page");//获取页码数
int Page=1;
List list=null;
if(str==null){//如果str对象为空,则说明当前页码数为1,将执行以下操作
list=(List)request.getAttribute("list");//获取所有的记录数
int pagesize=15; //指定每页显示的记录数
System.out.println("list="+list);
list=pagination.getInitPage(list,Page,pagesize); //初始化分页信息
}else{
Page=pagination.getPage(str);//如果str对象的值不为空,将str对象的值进行转型后,赋值给Page变量
list=pagination.getAppointPage(Page); //获取指定页的数据
}
%>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<jsp:include page="top.jsp" flush="true" />
<table width="801" height="48" border="0" cellpadding="0" cellspacing="0" background="images/center1.jpg">
<tr>
<td valign="top"><table width="494">
<tr>
<td width="45" height="25"> </td>
<td width="437" valign="bottom"><font color="#66583D"><b>系统管理 </b></font>> <font color="#FF0000"> 用户查询</font></td>
</tr>
</table></td>
</tr>
</table>
<table width="801" height="436" border="0" cellpadding="0" cellspacing="0" background="images/center2.jpg">
<tr>
<td height="436" valign="top" align="center">
<%
if(pagination.getRecordSize()>0){
%>
<table width="400" border="1" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="66583D">
<tr align="center">
<th height="20"><span class="word_white">序号</span></th>
后面还有 28 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
