1、Addinfor.jsp

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action = "/1214day/Addservlet" >
<table align = "center" border ="1">
<tr>
<td>用户信息添加</td>
</tr>
<tr>
<td>户别:</td>
<td>
<input type="radio" name="hubie" value="家庭户">家庭户
<input type="radio" name="hubie" value="集体户">集体户
</td>
</tr>
<tr>
<td>住房类型:</td>
<td>
<input type="radio" name="livetype" value="家庭住宅">家庭住宅
<input type="radio" name="livetype" value="集体住所">集体住所
<input type="radio" name="livetype" value="工作地住所">工作地住所
<input type="radio" name="livetype" value="其他住宅">其他住宅
<input type="radio" name="livetype" value="无住宅">无住宅
</td>
</tr>
<tr>
<td>住房面积:</td>
<td><input type = "text" name = "area"></td>
</tr>
<tr>
<td>住房房间数:</td>
<td><input type = "text" name = "roomnum"></td>
</tr>
<tr>
<td>户主姓名:</td>
<td><input type = "text" name = "name"></td>
</tr>
<tr>
<td>户主身份证:</td>
<td><input type = "text" name = "idcard" ></td>
</tr>
<tr>
<td>选项名称</td>
<td>
<input type="radio" name="sex" value="男">男
<input type="radio" name="sex" value="女">女
</td>
</tr>
<tr>
<td>户主民族:</td>
<td><input type = "text" name = "nation"></td>
</tr>
<tr>
<td>受教育程度:</td>
<td>
<select name="education" id="education">
<option value = "研究生">研究生</option>
<option value = "大学本科">大学本科</option>
<option value = "高中">高中</option>
<option value = "初中">初中</option>
<option value = "小学">小学</option>
<option value = "未上过学">未上过学</option>
</select>
</td>
</tr>
<tr>
<td>
<input type = "submit" value = "添加" >
<input type = "reset" value = "清空">
</td>
</tr>
</table>
</form>
</body>
</html>

2、Deleteinfor.jsp

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action = "/1214day/Deleteservlet">
<table align = "center" border ="1">
<tr>
<td>删除信息</td>
</tr>
<tr>
<td>
请输入删除人员姓名:<input type="text" name = "name">
</td>
</tr>
<tr>
<td>
<input type="submit" value = "删除">
<input type="reset" value = "清空">
</td>
</tr>
</table>
</form>
</body>
</html>

3、Updateinfor.jsp

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>

<%
String path = request.getPathInfo();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="/<%=path %>/Updateservlet">
<table align = "center" border ="1">
<tr>
<td>修改人员信息</td>
</tr>
<tr>
<td>户别:</td>
<td>

<input type="radio" name="hubie" value="家庭户">家庭户
<input type="radio" name="hubie" value="集体户">集体户
</td>
</tr>
<tr>
<td>住房类型:</td>
<td>
<input type="radio" name="livetype" value="家庭住宅">家庭住宅
<input type="radio" name="livetype" value="集体住所">集体住所
<input type="radio" name="livetype" value="工作地住所">工作地住所
<input type="radio" name="livetype" value="其他住宅">其他住宅
<input type="radio" name="livetype" value="无住宅">无住宅
</td>
</tr>
<tr>
<td>住房面积:</td>
<td><input type = "text" name = "area"></td>
</tr>
<tr>
<td>住房房间数:</td>
<td><input type = "text" name = "roomnum"></td>
</tr>
<tr>
<td>户主姓名:</td>
<td><input type = "text" name = "name"></td>
</tr>
<tr>
<td>户主身份证:</td>
<td><input type = "text" name = "idcard" ></td>
</tr>
<tr>
<td>选项名称</td>
<td>
<input type="radio" name="sex" value="男">男
<input type="radio" name="sex" value="女">女
</td>
</tr>
<tr>
<td>户主民族:</td>
<td><input type = "text" name = "nation"></td>
</tr>
<tr>
<td>受教育程度:</td>
<td>
<select name="education" id="education">
<option value = "研究生">研究生</option>
<option value = "大学本科">大学本科</option>
<option value = "高中">高中</option>
<option value = "初中">初中</option>
<option value = "小学">小学</option>
<option value = "未上过学">未上过学</option>
</select>
</td>
</tr>
<tr>
<td>
<input type = "submit" value = "修改" >
<input type = "reset" value = "清空">
</td>
</tr>
</table>
</form>
</body>
</html>

最新文章

  1. 关于手机的内置SD卡与外置SD卡
  2. 关于zigbee 网络拓扑节点数量的一点说明
  3. java 对象入门
  4. T-SQL中找出一个表的所有外键关联表
  5. CSS VS JS动画,哪个更快[译]
  6. IPC-管道
  7. 用VSCode写python的正确姿势
  8. 【数论,水题】UVa 10127 - Ones
  9. Azure HDInsight与Hadoop周边系统集成
  10. sql server 分组统计数据
  11. Aix 文件名补齐及aix6.1 bash安装
  12. Eclipse标准版安装J2EE插件
  13. Maven基本安装与配置
  14. 理解JavaScript中函数方法
  15. 【BZOJ2705】【Sdoi2012】Longge的问题
  16. Galaxian 小蜜蜂
  17. canvas的使用方法
  18. pandas的聚合操作: groupyby与agg
  19. Mac - 如何在windows下打开 pages
  20. 51nod 1040 最大公约数的和 欧拉函数

热门文章

  1. 55 道MySQL基础题
  2. 磁盘分区级文件系统丢失找回 testdisk
  3. git 生成ssh
  4. .Net Core 项目发布在IIS上 访问404 问题对应
  5. react组件配置样式hover效果的实现
  6. AcWing 1204. 错误票据
  7. JAVA简单整合protoc文件
  8. JAVA中json对象转JAVA对象,JSON数组(JSONArray)转集合(List)
  9. XSS工具类,清除参数中的特殊字符
  10. 【LeetCode】214. Shortest Palindrome 解题报告(Python)