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

📄 personupdi.jsp

📁 是一个用jsp做的公司人事管理系统
💻 JSP
字号:
<%@ page language="java" import="java.sql.*" contentType="text/html;charset=gb2312"%>
<jsp:useBean id="db" scope="page" class="opendb.opendb"/>
<%
String getPersonID = new String(request.getParameter("udp").getBytes("ISO8859_1"));
session.setAttribute("personID",getPersonID);
String sql="select * from wglPERSON where EMP_CODE='"+getPersonID+"'";
ResultSet rs=db.executeQuery(sql);
%>
<html>
<head>
<title>人员修改</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body background="/DSN/b.files/bj.gif">
<%         while(rs.next())
            {
			String personname=rs.getString("EMP_NAME");
            String ID=rs.getString("EMP_DEPT");
			int web=rs.getInt("EMP_WEB");
			int marries=rs.getInt("EMP_MARRY");
			String school=rs.getString("EMP_SCHOOL");
            String level=rs.getString("EMP_EDUATION");
            String telephone=rs.getString("EMP_TEL");
			String mtel=rs.getString("EMP_HANDTEL");
			String room=rs.getString("EMP_ADRESS");
            String username=rs.getString("EMP_USERNAME");
			String password=rs.getString("EMP_PASSWORD");
            
%>		
<form name="S_form" method="post" action="personUpdII.jsp" >
  <table border=1 align="center">
    <tr>
      <td width="64" bgcolor="#00FFFF">
<p align="center">人员ID</p><td width="147"> <font color="#FF0000" size="2"> <%=getPersonID%></font></td>
      <td width="64" bgcolor="#00FFFF"> 
        <p align="center">人员姓名</p><td width="350"><font color="#FF0000" size="2"> <%=personname%></font></td></tr>
<tr>
      <td bgcolor="#00FFFF">
<p align="center">部门号</p><td><font color="#FF0000" size="2"><input type="text" value="<%=ID%>" name= "ID" size="20"></font></td>
      <td bgcolor="#00FFFF"> 
        <p align="center">WEB权限</p><td><font color="#FF0000" size="2"><input type="text" value="<%=web%>" name= "web" size="5"></font></td></tr>
<tr>
      <td bgcolor="#00FFFF">
<p align="center">婚姻状况</p><td><font color="#FF0000" size="2"><input type="text" value="<%=marries%>" name= "marries" size="5"> </font></td>
      <td bgcolor="#00FFFF"> 
        <p align="center">毕业学校</p><td><font color="#FF0000" size="2"><input type="text" value=" <%=school%>" name= "school" size="20"></font></td></tr>
<tr>
      <td bgcolor="#00FFFF">
<p align="center">学历</p><td><font color="#FF0000" size="2"> <input type="text" value="<%=level%>" name= "level" size="20"></font></td>
      <td bgcolor="#00FFFF"> 
        <p align="center">电话</p><td><font color="#FF0000" size="2"><input type="text" value="<%=telephone%>" name= "telephone" size="20"> </font></td></tr>
<tr>
      <td bgcolor="#00FFFF">
<p align="center">移动电话</p><td><font color="#FF0000" size="2"><input type="text" value="<%=mtel%>" name= "mtel" size="20"> </font></td>
      <td bgcolor="#00FFFF"> 
        <p align="center">住址</p><td><font color="#FF0000" size="2"><input type="text" value="<%=room%>" name= "room" size="50"></font></td></tr>
 <tr>
      <td bgcolor="#00FFFF">
<p align="center">用户名</p><td><font color="#FF0000" size="2"><input align="left" type="text" value="<%=username%>" name= "username" size="20"> </font></td>
      <td bgcolor="#00FFFF"> 
        <p align="center">密码</p><td><font color="#FF0000" size="2"><input align="left" type="text" value=" <%=password%>" name= "password" size="20"></font></td></tr>
	</table>
  <table width="510" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td> <div align="center">
          <input type="submit" name="Submit" value="确定">
         &nbsp;
         <input type="reset" name="Submit2" value="重写">
        </div></td>
    </tr>
  </table>
  <%
	  }
	%>
</form>
</body>
</html>

⌨️ 快捷键说明

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