code045.jsp
1<%@ page language="java" contentType="text/html; charset=UTF-8" 2 pageEncoding="UTF-8"%> 3<!DOCTYPE html> 4<html> 5<head> 6<meta charset="UTF-8"> 7<title>javaBean应用</title> 8</head> 9<body> 10<form action="code046.jsp" method="post"> 11<table border="1" style="border-collapse:collapse;"> 12<tr> 13 <td colspan="2"><strong>添加用户信息</strong></td> 14</tr> 15<tr> 16 <td>姓名:</td> 17 <td><input type="text" name="name" id="name"></td> 18</tr> 19<tr> 20 <td>年龄:</td> 21 <td><input type="text" name="age" id="age"></td> 22</tr> 23<tr> 24 <td>性别:</td> 25 <td><input type="text" name="sex" id="sex"></td> 26</tr> 27<tr> 28 <td>住址:</td> 29 <td><input type="text" name="address" id="address"></td> 30</tr> 31<tr> 32 <td colspan="2"><input type="submit" name="submit" value="添加"></td> 33</tr> 34</table> 35</form> 36</body> 37</html>