<form action="student!login" method="post" onsubmit="return checkForm()">
学生账号:<input type="text" id="id" name="student.id" value="${student.id }"/><br>
密码:<input type="password" id="password" name="student.password" value="${student.password }"/><br>
<button class="btn btn-primary" type="submit">登录</button>
<button class="btn btn-primary" type="button" onclick="resetValue()">重置</button>
</form>
起到选择作用吗?要么跳转到"student"对应的资源;要么跳转到本页面进行重置刷新?