• 1121day户别确认


    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>

  • 相关阅读:
    defineProperty的使用
    js题库全集
    如何将多个文件夹中的文件合并到一个文件夹中
    CYQ.Data V5 MDataTable 专属篇介绍
    读取和写入配置文件内容的方法
    面对代码中过多的if...else的解决方法
    SQL语句--删除掉重复项只保留一条
    获取当前时间
    Stopwatch 类用于计算程序运行时间
    正则表达式手册
  • 原文地址:https://www.cnblogs.com/lx06/p/14164826.html
Copyright © 2020-2023  润新知