code071.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>注册用户存入数据库</title> 8</head> 9<body> 10<form action="code070" method="post"> 11<table border="1"> 12 <tr> 13 <td>用户名:</td> 14 <td><input type="text" name="userName" id="userName"></td> 15 </tr> 16 <tr> 17 <td>密码</td> 18 <td><input type="password" name="pwd" id="pwd"></td> 19 </tr> 20 <tr> 21 <td>性别</td> 22 <td> 23 <input type="radio" name="sex" value="男" checked="checked">男 24 <input type="radio" name="sex" value="女">女 25 </td> 26 </tr> 27 <tr> 28 <td>描述</td> 29 <td><input type="text" name="description" id="description"></td> 30 </tr> 31 <tr> 32 <td colspan="2"> 33 <input type="submit" name="submit" value="注册"> 34 <input type="reset" value="重置"> 35 </td> 36 </tr> 37</table> 38</form> 39</body> 40</html>