<%@ 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>
<h1>用户注册</h1>
<form action="reg.jsp" method="post" name="myform">
<table>
<tr>
<td>用户名:</td>
<td><input type="text" name="username"/></td>
</tr>
<tr>
<td>爱好:</td>
<td>
<input type="checkbox" name="fav" value="aihao"/>爱好
<input type="checkbox" name="fav" value="miuc"/>音乐
<input type="checkbox" name="fav" value="movies"/>电影
<input type="checkbox" name="fav" value="intert"/>上网
</td>
</tr>
<tr><td colspan="3"><input type="submit" value="提交"/></td></tr>
</table>
</form>
</body>
</html>
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>
<h1>用户注册</h1>
<form action="reg.jsp" method="post" name="myform">
<table>
<tr>
<td>用户名:</td>
<td><input type="text" name="username"/></td>
</tr>
<tr>
<td>爱好:</td>
<td>
<input type="checkbox" name="fav" value="aihao"/>爱好
<input type="checkbox" name="fav" value="miuc"/>音乐
<input type="checkbox" name="fav" value="movies"/>电影
<input type="checkbox" name="fav" value="intert"/>上网
</td>
</tr>
<tr><td colspan="3"><input type="submit" value="提交"/></td></tr>
</table>
</form>
</body>
</html>