成绩ID | +学号 | +学生姓名 | +课程ID | +课程名 | +成绩 | +
---|---|---|---|---|---|
${score.scoreID} | +${score.student.id} | +${score.student.name} | +${score.course.courseID} | +${score.course.courseName} | +${score.score} | +
diff --git a/project2/README.md b/project2/README.md new file mode 100644 index 0000000..617a1bd --- /dev/null +++ b/project2/README.md @@ -0,0 +1,167 @@ +# Readme + +- /course + - ~/all + - 课程信息页 [Get] + - admin,teacher,student + - courseList|courseList_t|courseList_s + - ~/infomodv2 + - 课程信息修改页 [Get] + - admin,teacher,student + - courseopv2|courseopv2_t|courseopv2_s + - ~/delinfo + - 课程信息删除 [Post] + - admin + - *Redirect*.infomodev2 + - ~/addinfo + - 课程信息添加 [Post] + - admin + - *Redirect*.infomodev2 + - ~/modinfo + - 课程信息修改 [Post] + - admin + - *Redirect*.infomodev2 + - ~/query + - 课程信息查询 [Post] + - admin,teacher,student + - courseQueryResult|courseQueryResult_t|courseQueryResult_s +- /output + - ~/export-csv [Get] + - 学生、课程、成绩、教师信息下载 + - admin,teacher + - ~/get-csv + - 获取已经生成的csv文件 [Get] + - admin,teacher +- /person + - ~/settings + - 个人设置页 [Get] + - admin,teacher,student + - person|person_t|person_s + - ~/uploadAvatar + - 头像上传 [Post] + - admin,teacher,student + - ~/image + - 获取用户头像 [Get] + - admin,teacher,student +- /score + - ~/all + - 学生成绩页 + - admin + - ~/all_t + - 学生成绩页(教师版) + - teacher + - ~/infomodv2 + - 学生成绩修改页 + - admin + - ~/infomodv2_t + - 学生成绩修改页(教师版) + - teacher + - ~/query + - 学生成绩查询 + - admin,teacher + - ~/modinfo + - 学生成绩修改 + - admin + - ~/delinfo + - 学生成绩删除 + - admin + - ~/addinfo + - 学生成绩添加 + - admin,teacher +- /student + - ~/all + - 学生信息查询页 + - admin + - ~/all_t + - 学生信息查询页(教师版) + - teacher + - ~/queryinfo + - 学生信息查询(条件)页 + - admin + - ~/queryinfo_t + - 学生信息查询(条件)页(教师版) + - teacher + - ~/query + - 学生信息查询 + - admin + - ~/modstep1 + - 学生信息修改页 + - admin + - ~/modinfo + - 学生信息修改 + - admin,teacher + - ~/infomodv2 + - 学生信息修改页(v2) + - admin + - ~/infomodv2_t + - 学生信息修改页(v2)(教师版) + - teacher + - ~/delinfo + - 学生信息删除 + - admin + - ~/delinfoT + - 学生信息删除(教师版) + - teacher + - ~/addinfo + - 学生信息添加 + - admin,teacher +- /system + - ~/settings + - 系统设置页 + - admin + - ~/clean + - 清理垃圾 + - admin +- /teacher + - ~/mamage + - 教师信息管理页 + - admin + - ~/query + - 教师信息查询 + - admin + - ~/mod + - 教师信息修改 + - admin + - ~/del + - 教师信息删除 + - admin + - ~/add + - 教师信息添加 + - admin +- /login + - 用户登录页(和/相同) + - everyone +- /signup + - 用户(管理员)注册 + - everyone +- /user + - ~/usermanage + - 用户管理页 + - admin + - ~/create + - 用户创建 + - admin + - ~/reset + - 重设密码 + - admin + - ~/userdisabled + - 禁用用户 + - admin + - ~/userenabled + - 启用用户 + - admin +- /success + - 废弃的成功状态页 + - None +- /fail + - 废弃的失败状态页 + - None +- /dashboard + - 管理员登陆后的首页 + - admin +- /dashboard-t + - 教师登陆后的首页 + - teacher +- /dashborad-s + - 学生登录后的首页 + - student \ No newline at end of file diff --git a/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/controller/CourseController.class b/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/controller/CourseController.class index 4585c0a..076765b 100644 Binary files a/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/controller/CourseController.class and b/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/controller/CourseController.class differ diff --git a/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/controller/PersonController.class b/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/controller/PersonController.class index 1d28fc4..30ece77 100644 Binary files a/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/controller/PersonController.class and b/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/controller/PersonController.class differ diff --git a/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/controller/StudentController.class b/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/controller/StudentController.class index 40bd91a..7757778 100644 Binary files a/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/controller/StudentController.class and b/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/controller/StudentController.class differ diff --git a/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/helper/UsernameHelper.class b/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/helper/UsernameHelper.class index 3614829..2be738c 100644 Binary files a/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/helper/UsernameHelper.class and b/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/helper/UsernameHelper.class differ diff --git a/project2/out/artifacts/project2_war_exploded/WEB-INF/views/courseList.jsp b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/course/courseList.jsp similarity index 100% rename from project2/out/artifacts/project2_war_exploded/WEB-INF/views/courseList.jsp rename to project2/out/artifacts/project2_war_exploded/WEB-INF/views/course/courseList.jsp diff --git a/project2/out/artifacts/project2_war_exploded/WEB-INF/views/courseList_t.jsp b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/course/courseList_t.jsp similarity index 100% rename from project2/out/artifacts/project2_war_exploded/WEB-INF/views/courseList_t.jsp rename to project2/out/artifacts/project2_war_exploded/WEB-INF/views/course/courseList_t.jsp diff --git a/project2/out/artifacts/project2_war_exploded/WEB-INF/views/courseQueryResult.jsp b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/course/courseQueryResult.jsp similarity index 100% rename from project2/out/artifacts/project2_war_exploded/WEB-INF/views/courseQueryResult.jsp rename to project2/out/artifacts/project2_war_exploded/WEB-INF/views/course/courseQueryResult.jsp diff --git a/project2/web/WEB-INF/views/courseQueryResult.jsp b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/course/courseQueryResult_t.jsp similarity index 100% rename from project2/web/WEB-INF/views/courseQueryResult.jsp rename to project2/out/artifacts/project2_war_exploded/WEB-INF/views/course/courseQueryResult_t.jsp diff --git a/project2/out/artifacts/project2_war_exploded/WEB-INF/views/courseopv2.jsp b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/course/courseopv2.jsp similarity index 100% rename from project2/out/artifacts/project2_war_exploded/WEB-INF/views/courseopv2.jsp rename to project2/out/artifacts/project2_war_exploded/WEB-INF/views/course/courseopv2.jsp diff --git a/project2/web/WEB-INF/views/courseopv2.jsp b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/course/courseopv2_t.jsp similarity index 100% rename from project2/web/WEB-INF/views/courseopv2.jsp rename to project2/out/artifacts/project2_war_exploded/WEB-INF/views/course/courseopv2_t.jsp diff --git a/project2/web/WEB-INF/views/person.jsp b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/person_t.jsp similarity index 100% rename from project2/web/WEB-INF/views/person.jsp rename to project2/out/artifacts/project2_war_exploded/WEB-INF/views/person_t.jsp diff --git a/project2/out/artifacts/project2_war_exploded/WEB-INF/views/scoreQueryResult_t.jsp b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/scoreQueryResult_t.jsp new file mode 100644 index 0000000..863b862 --- /dev/null +++ b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/scoreQueryResult_t.jsp @@ -0,0 +1,211 @@ +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> + + + +
+ + + +成绩ID | +学号 | +学生姓名 | +课程ID | +课程名 | +成绩 | +
---|---|---|---|---|---|
${score.scoreID} | +${score.student.id} | +${score.student.name} | +${score.course.courseID} | +${score.course.courseName} | +${score.score} | +
ID | +姓名 | +性别 | +出生日期 | +联系方式 | +班级 | +
---|---|---|---|---|---|
${student.id} | +${student.name} | +${student.sex} | +${student.birthday} | +${student.phone} | +${student.classes} | +
ID | +姓名 | +性别 | +出生日期 | +联系方式 | +班级 | +
---|---|---|---|---|---|
${student.id} | +${student.name} | +${student.sex} | +${student.birthday} | +${student.phone} | +${student.classes} | +