?? 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 + -