📄 emp_edit.jsp
字号:
<%@ page contentType="text/html;charset=GB2312" %>
<%@ page import="hrm.emp.*" %>
<%
String path = request.getContextPath();
EmpInfo emp=(EmpInfo)request.getAttribute("emp");
request.removeAttribute("emp");
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<center>
<form name="frm" action="">
<table width="333" border="0">
<tr>
<th colspan="2" scope="col">员工信息修改<br /></th>
</tr>
<tr>
<th width="140" scope="row">部门ID</th>
<td width="266">
<input type="text" name="deptId" value="<%=emp.getDeptId() %>"/> </td>
</tr>
<tr>
<th scope="row">姓名</th>
<td>
<input type="text" name="empName" value="<%=emp.getEmpName() %>" /> </td>
</tr>
<tr>
<th scope="row">年龄</th>
<td>
<input type="text" name="age" value="<%=emp.getAge() %>"/> </td>
</tr>
<tr>
<th scope="row">身份证号</th>
<td><input type="text" name="idCard" value="<%=emp.getIdCard() %>"/></td>
</tr>
<tr>
<th scope="row">政治面貌</th>
<td><input type="text" name="party" value="<%=emp.getParty() %>"/></td>
</tr>
<tr>
<th scope="row">毕业院校</th>
<td><input type="text" name="school" value="<%=emp.getSchool() %>"/></td>
</tr>
<tr>
<th scope="row">专业</th>
<td><input type="text" name="major" value="<%=emp.getMajor() %>"/></td>
</tr>
<tr>
<th scope="row">职称</th>
<td><input type="text" name="title" value="<%=emp.getTitle() %>"/></td>
</tr>
<tr>
<th scope="row">职位</th>
<td><input type="text" name="post" value="<%=emp.getPost() %>"/></td>
</tr>
<tr>
<th colspan="2" scope="row"><input type="submit" name="Submit" value="提交" />
<input type="reset" name="Submit2" value="重置" /></th>
</tr>
</table>
</form>
</center>
</body>
</html>
<script language="javascript">
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -