1012day人口普查系统

1、name.jsp

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="shuchu.jsp" method="get">
<table>
<tr>
<td>请输入名字</td>
<td>
<input type="text" name="name" >
</td>
</tr>
</table>
<input type="submit" value="确定">
</form>
</body>
</html>

2、Nation.jsp

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="shuchu.jsp" method="get">
<table>
<tr>
<td>请选择民族</td>
<td>
<input type="text" name="nation" >
</td>
</tr>
</table>
<input type="submit" value="确定">
</form>
</body>
</html>

3、Search.jsp

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<h3>请选择查询方式</h3>
<form>
<table>
<tr>
<td>
<input type="submit" value="姓名" formaction="name.jsp" formmethod="get">
</td>
</tr>
<tr>
<td>
<input type="submit" value="性别" formaction="sex.jsp" formmethod="get">
</td>
</tr>
<tr>
<td>
<input type="submit" value="民族" formaction="Nation.jsp" formmethod="get">
</td>
</tr>
<tr>
<td>
<input type="submit" value="受教育程度" formaction="educator.jsp" formmethod="get">
</td>
</tr>

</table>
</form>
</body>
</html>

4、select.jsp

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>人口功能选择页面</title>
</head>
<body>
<form>
<table align="center" border="1">
<tr align="center">
<td colspan="2">
<input type="submit" value="人口登记" formaction="dengji.jsp" formmethod="get">
</td>
</tr>
<tr align="center">
<td colspan="2">
<input type="submit" value="修改人口信息" formaction="Change.jsp" formmethod="get">
</td>
</tr>
<tr align="center">
<td colspan="2">
<input type="submit" value="删除人口信息" formaction="shanchu.jsp" formmethod="get">
</td>
</tr>
<tr align="center">
<td colspan="2">
<input type="submit" value="查询人口信息" formaction="Search.jsp" formmethod="get">
</td>
</tr>
<tr align="center">
<td colspan="2">
<input type="submit" value="人口信息浏览" formaction="Browse.jsp" formmethod="get">
</td>
</tr>
</table>
</form>
</body>
</html>

原文地址:https://www.cnblogs.com/lx06/p/14165105.html