<%@ page contentType="text/html;charset=GBK" %>
<html>
<head>
<title>投票系统示例</title>
</head>
<body>
<form method="post" action="/servlet/b">
<h3>你喜欢哪个？</h3>
<br>足球:<input type="checkbox" name="f" value="1">
<br>篮球:<input type="checkbox" name="b" value="1">
<br>排球:<input type="checkbox" name="v" value="1">
<br><input type="submit" value="投票">
<input type="button" value="查看" OnClick="window.open('/servlet/b?see=1')">
</form>
</body>
</html>