emp_add.jsp

来自「该系统对jsp进行了初级编程 实现了ajax下的部门人才管理」· JSP 代码 · 共 81 行

JSP
81
字号
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body>
<center>
<form name="frm" action="">
  <table width="333" border="0">
    <tr>
      <th colspan="2" scope="col">员工添加</th>
    </tr>
    <tr>
      <th width="140" scope="row">部门ID</th>
      <td width="266">
        <input type="text" name="deptId" />      </td>
    </tr>
    <tr>
      <th scope="row">姓名</th>
      <td>
            <input type="text" name="emptName" />      </td>
    </tr>
    <tr>
      <th scope="row">性别</th>
      <td><select name="gender">
        <option selected="selected">男</option>
        <option>女</option>
      </select>
      </td>
    </tr>
    <tr>
      <th scope="row">年龄</th>
      <td>
            <input type="text" name="age" />      </td>
    </tr>
    <tr>
      <th scope="row">身份证号</th>
      <td><input type="text" name="idCard" /></td>
    </tr>
    <tr>
      <th scope="row">政治面貌</th>
      <td><input type="text" name="party" /></td>
    </tr>
    <tr>
      <th scope="row">毕业院校</th>
      <td><input type="text" name="school" /></td>
    </tr>
    <tr>
      <th scope="row">专业</th>
      <td><input type="text" name="major" /></td>
    </tr>
    <tr>
      <th scope="row">职称</th>
      <td><input type="text" name="title" /></td>
    </tr>
    <tr>
      <th scope="row">职位</th>
      <td><input type="text" name="post" /></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 + =
减小字号Ctrl + -
显示快捷键?