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

📄 emp_add.jsp

📁 该系统对jsp进行了初级编程 实现了ajax下的部门人才管理
💻 JSP
字号:
<%@ 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -