searchStudentName模块:

  1. 前端传入查询的学生名字
  2. 将学生名字存入session中

selectStudent模块:

  1. 从session中取出查询的学生名字
  2. 调用studentService中的findByName()方法进行查询
  3. 利用PageHelper插件进行分页处理
  4. 将查询结果封装到PageInfo对象中
  5. 在前端页面进行展示
学籍searchStudentName模块设计:函数使用:HttpServletRequest的getSession方法和setAttribute方法。实现逻辑:从前端传入查询的学生名字将其存入session中以便后续的selectStudent模块中使用。selectStudent模块设计:函数使用:HttpServletRequest的getSession方法和getAttribute方法以及

原文地址: https://www.cveoy.top/t/topic/hjNy 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录