想要实现的功能是通过JSP编写代码
判断用户身份并验证账号密码的正确性,然后跳转到相应的页面
现在遇到的问题是无法获取信息,并且运行后有各种错误提示
//登录界面代码
<%--
Created by IntelliJ IDEA.
User: 86188
Date: 2021/9/24
Time: 19:22
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
学生管理系统登录界面
登录身份:
管理员
老师
学生
账号:<input name="zhanghao" type="text" />
密码:<input name="mima" type="password" />
<input value="提交" id="button" name="button" type="submit" />
<input value="重置" id="button2" name="button2" type="reset" />
//获取信息的代码
<%--
Created by IntelliJ IDEA.
User: 86188
Date: 2021/9/24
Time: 20:02
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>