<form action=”/Http/request06″ method=”post”>
用户名:<input type=”text” name=”username”/>
密码:<input type=”text” name=”password”/>
爱好: 运动:<input type=”checkbox” name=”hobby” value=”1″>
java: <input type=”checkbox” name=”hobby” value=”2″>
linux:<input type=”checkbox” name=”hobby” value=”3″>
<br/>
<input type=”submit” values=”提交”>
</form>
查看value值是否写错,我的就是写成values了