首先准备四个login.jsp,main.jsp, studentList.jsp, teacherList.jsp 页面 当登录成功后,跳转到main.jsp,main.jsp的内容可以跳转到学生和老师列表 UserAction 登录验证拦截器 拦截器配置