from标签中action属性中的“!”是什么意思?

<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"对应的资源;要么跳转到本页面进行重置刷新?

你这是想向后台传数据并跳转页面吗,建议用ajax

你试试将!换成/