程序/qyrl/WebRoot/employee_queryOne.jsp

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<jsp:directive.page import="java.util.List"/>
<jsp:directive.page import="com.wy.form.DepartmentForm"/>
<jsp:directive.page import="com.wy.form.EmployeeForm"/>
<%@ taglib prefix="html" uri="/WEB-INF/struts-html.tld"%>
<%@ taglib prefix="logic" uri="/WEB-INF/struts-logic.tld"%>
<%@ taglib prefix="bean" uri="/WEB-INF/struts-bean.tld"%>
<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>

          <%
            EmployeeForm employeeForm=(EmployeeForm)request.getAttribute("employeeForm");
            String departmentName=null;
            List list=(List)request.getAttribute("departmentList");
            for(int i=0;i<list.size();i++){
            DepartmentForm departmentForm=(DepartmentForm)list.get(i);
            if(employeeForm.getEm_departmentId().equals(departmentForm.getId()))
            departmentName=departmentForm.getDt_name();
              
            }%>


<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">&nbsp;</td>
              <td width="437" valign="bottom"><font color="#66583D"><b>员工管理&nbsp;</b></font>&gt; <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">		      

		  <table border="1" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="66583D">
            <tr>
              <th width="75" height="25">编号:</th>
              <td width="200" bgcolor="#FFFFFF">${requestScope.employeeForm.em_serialNumber}</td>
              <th width="75">姓名:</th>
              <td width="200" bgcolor="#FFFFFF">${requestScope.employeeForm.em_name}</td>
            </tr>
            <tr>
              <th height="25">年龄:</th>
              <td bgcolor="#FFFFFF">${requestScope.employeeForm.em_age}</td>
              <th>性别:</th>
              <td bgcolor="#FFFFFF">${requestScope.employeeForm.em_sex}</td>
后面还有 69 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。