⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 file.jsp

📁 用jsp,servlet实现人力资源管理系统
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@ page import="com.entity.*"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%List Reclist = (List)request.getAttribute("RecList");
  List RecDetailList = (List)request.getAttribute("RecDetailList");
 %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
 
    <base href="<%=basePath%>">
    
    <title>My JSP 'file.jsp' starting page</title>
     <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
   <body>

<div id="Layer1" 
style="position:absolute; 
left:0px; 
top:0px; 
width:1000px; 
height:100px; 
z-index:1">
  <table width="1000" height="100" border="0">
    <tr bgcolor="#00A4D1">
      <th colspan="3" scope="col"><div align="center"><img src="image/bu1.gif" width="299" height="70"><a href="servlet/IndexServlet?method=queryEmpInfo"><img src="image/zy-1-1.gif" width="56" height="70" border="0"></a><a href="servlet/MoveToServlet?method=queryEmpChange"><img src="image/zy-3.gif" width="56" height="70" border="0"></a><a href="trasort.htm"><img src="image/zy-6-6.gif" width="56" height="70" border="0"></a><a href="inslevel.htm"><img src="image/zy-8.gif" width="56" height="70" border="0"></a></div></th>
    </tr>
    <tr>
      <td width="888" height="25" bgcolor="#EAEAEA"><div align="left"><img src="image/index-18.gif" width="20" height="20"> <span class="style1">用户名:<%=(String)session.getAttribute("userName") %></span></div></td>
      <td width="67" bgcolor="#EAEAEA"><a href="form/index.jsp"><img src="image/index-19.gif" width="67" height="20" border="0"></a></td>
      <td width="74" bgcolor="#EAEAEA"><a href="form/denglu.jsp"><img src="image/an.gif" width="67" height="20" border="0"></a></td>
    </tr>
  </table>
</div>

<div id="Layer2" 
style="position:absolute; 
left:-1px; 
top:102px; 
width:200px; 
height:731px; 
z-index:2">

<table width="200" border="0">
      <tr>
        <th height="50" colspan="2" scope="col"><div align="left" class="style2">人员档案</div></th>
      </tr>
      <tr>
        <td width="22"><img src="image/tree_blank.gif" width="16" height="18"></td>
        <td width="168"><a href="servlet/IndexServlet?method=queryEmpInfo">人员基本信息</a></td>
      </tr>
      <tr>
        <td><img src="image/tree_blank.gif" width="16" height="18"></td>
        <td><a href="servlet/FileDetailServlet?method=queryEmpRecord&recid=a">员工档案</a></td>
      </tr>
      <tr>
        <td><img src="image/tree_blank.gif" width="16" height="18"></td>
        <td><a href="servlet/RecordToServlet?method=queryEmpStory">员工履历</a></td>
      </tr>
      <tr>
        <td><img src="image/tree_blank.gif" width="16" height="18"></td>
        <td><a href="servlet/ContractDetailServlet?method=queryEmpBargain&barid=a">员工合同</a></td>
      </tr>
      <tr>
        <td><img src="image/tree_blank.gif" width="16" height="18"></td>
        <td><a href="servlet/AwardDetailServlet?method=queryRewManage&rewid=a">奖惩管理</a></td>
      </tr>
      <tr>
        <td><img src="image/tree_blankln.gif" width="16" height="22"></td>
        <td><a href="form/Infosea.jsp">人员基本信息查询</a></td>
      </tr>
  </table>
</div>
  
   <p>
   <a href="#" style="text-decoration:none" onClick="display('menu2')"><font size =3 color="#000000">&nbsp; &nbsp;人事调配</font></a>
   <div id="menu2" style="display:none">
     <table>
	<tr>
	  <td height="26"><a href = "move.htm"  style="text-decoration:none" onClick = "changeContent('content/PersonInfo.html')"><font size = 2 color="#000000">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;人事变动</font></a></td>
	</tr>
	<tr>
	  <td height="19"><a href = "movesea.htm" style="text-decoration:none" onClick = "changeContent('content/Log.html')"><font size = 2 color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;人事变动查询</font></a></td>
	
	</table> 
</div>
 
   
   <p>
   
   <a href="#" style="text-decoration:none" onClick="display('menu3')"><font size =3 color="#000000" >&nbsp;&nbsp;&nbsp;教育培训</font></a>   
   <div id="menu3" style="display:none">
     <table>
	<tr>
	  <td height="26"><a href = "trasort.htm"  style="text-decoration:none" onClick = "changeContent('content/PersonInfo.html')"><font size = 2  color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;培训类别维护</font></a></td>
	</tr>
	<tr>
	  <td height="19"><a href = "traplane.htm" style="text-decoration:none" onClick = "changeContent('content/Log.html')"><font size = 2 color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;培训计划及发布</font></a></td>
	</tr>
	<tr>
	  <td height="19"><a href = "trarecord.htm" style="text-decoration:none" onClick = "changeContent('content/Log.html')"><font size = 2 color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;培训记录</font></a></td>
	</tr>
	<tr>
	  <td height="23"><a href = "tragrade.htm" style="text-decoration:none" onClick = "changeContent('content/Log.html')"><font size = 2 color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;培训人员及成绩</font></a></td>
	</tr>
	<tr>
	  <td height="23"><a href = "empcert.htm" style="text-decoration:none" onClick = "changeContent('content/Log.html')"><font size = 2 color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;员工证书记录</font></a></td>
	</tr>
	<tr>
	  <td height="22"><a href = "edutra.htm" style="text-decoration:none" onClick = "changeContent('content/Log.html')"><font size = 2  color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;教育培训查询</font></a></td>
	</table>
</div>
   <p>
   <a href="#" style="text-decoration:none" onClick="display('menu4')"><font size =3 color="#000000">&nbsp; &nbsp;系统管理</font></a>
   <div id="menu4" style="display:none">
     <table>
	<tr>
	  <td height="19"><a href = "inslevel.htm" style="text-decoration:none" onClick = "changeContent('content/Log.html')"><font size = 2 color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;机构级别维护</font></a></td>
	</tr>
	<tr>
	  <td height="19"><a href = "insinfo.htm" style="text-decoration:none" onClick = "changeContent('content/Log.html')"><font size = 2 color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;机构信息维护</font></a></td>
	</tr
	><tr>
	  <td height="19"><a href = "userman.htm" style="text-decoration:none" onClick = "changeContent('content/Log.html')"><font size = 2 color="#000000" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用户管理</font></a></td>
	</tr>
	<tr>
	  <td height="23"><a href = "roleman.htm" style="text-decoration:none" onClick = "changeContent('content/Log.html')"><font size = 2  color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;角色管理</font></a></td>
	</tr>
	<tr>
	  <td height="22"><a href = "sysman.htm" style="text-decoration:none" onClick = "changeContent('content/Log.html')"><font size = 2  color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;系统模块管理</font></a></td>
	</tr>
	<tr>
	<tr>
	  <td height="22"><a href = "roleass.htm" style="text-decoration:none" onClick = "changeContent('content/Log.html')"><font size = 2  color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;角色模块分配  </font></a></td>
	</tr>
	  <td height="26"><a href = "useroass.htm" style="text-decoration:none" onClick = "changeContent('content/Log.html')"><font size = 2  color="#000000"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;用户角色分配</font></a></td>
	</table>   
</div>
 
   

<div id="Layer3" 
style="position:absolute; 
left:200px; 
top:105px; 
width:802px; 
height:732px; 
z-index:3">

<%EmpRecord empRecordDetail = new EmpRecord();
  empRecordDetail = (EmpRecord)RecDetailList.get(0);
 %>



<form name="form1" action="servlet/FileServlet">	
  <table width="799" height="731" border="1">
    <tr>
      <td width="1141" height="600" valign="top" bgcolor="#EAEAEA"><table width="784" height="256" border="0">
        <tr>
          <td colspan="4"><strong>员工档案</strong></td>
          </tr>
        <tr>
          <td width="83">人员姓名:</td>
          <td width="293"><input type="text" name="empName"  value=<%=empRecordDetail.getEmpName()%>></td>
          <td width="75" rowspan="3">&nbsp;</td>
          <td width="315" rowspan="3">&nbsp;</td>
        </tr>
        <tr>
          
          </tr>
        <tr>
          <td>档案名称:</td>
          <td><input type="text" name="recName"  value=<%=empRecordDetail.getRecName()%>></td>
          </tr>
        <tr>
          <td height="119" valign="top">内容摘要:
            </td>
          <td><textarea name="recContent" cols="40" rows="10" > <%=empRecordDetail.getRecContent()%></textarea></td>
          <td valign="top"> 备注:</td>
          <td><p>                <textarea name="recRemark" cols="40" rows="10"  ><%=empRecordDetail.getRecRemark()%></textarea>
            </p></td>
        </tr>
      </table>
         <table width="728" border="0">
          <tr>
            <th width="722" height="50" scope="col"> 
            
         <%String partid=(String)session.getAttribute("partid");
      if(partid.equals("1")){%>     
           <div align="right">
           	  <input type="submit" name="Submit" value="update">
              <input type="submit" name="Submit" value="save">
              <input type="reset" value ="reset">
           </div>
        <%} %>
            
            </th>
          </tr>
        </table>
         <div align="center"></div>
         <div align="right"></div>
        <div align="right"></div>
        <div align="right"></div>
        <hr/>
        
        <table width="204" height="46" border="0">
        
          <tr>
          <%if(partid.equals("1")){%> 
            
            <td width="71"><div align="center">
                 <input type="submit" name="Submit" value="del">
            </div></td>
            <%}%>
            <td width="58">&nbsp;</td>
          </tr>
        </table>
        <table width="710" height="171" border="1" bgcolor="#FFFFFF">
          <tr>
            <td width="29" height="25" align="center">&nbsp;</td>
            <td width="95" align="center">人员姓名</td>
            <td width="75" align="center">档案编号</td>
            <td width="73" align="center">档案名称</td>
            <td width="75" align="center">内容摘要</td>
            <td width="323" align="center">备注</td>
          </tr>
     <%for(int i = 0;i<Reclist.size();i++){
      EmpRecord empRecord = (EmpRecord)Reclist.get(i); %>
          <tr>
            <td height="18"><input type="checkbox" name="recId" value=<%=empRecord.getRecId()%>></td>
            <td><a href="servlet/FileDetailServlet?method=queryEmpRecord&recid=<%=empRecord.getRecId()%>"><%=empRecord.getEmpName()%></td>
            <td><%=empRecord.getRecId()%></td>
            <td><%=empRecord.getRecName()%></td>
            <td><%=empRecord.getRecContent()%></td>
            <td><%=empRecord.getRecRemark()%></td>
          </tr>
     <%} %>    
      </table></td>
    </tr>
  </table>
</div>

<form name="form1" method="post" action="">
</form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -