In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces how the process of Java to achieve student information management system is, the content is very detailed, interested friends can refer to, hope to be helpful to you.
I. brief introduction of the project
Functions include: user login and registration, student information management, teacher information management, class information management, using mvcx project structure, covering additions, deletions, changes and queries, including student, educational currency class information export, upload, import and other functions.
II. Project operation
Environment configuration: Jdk1.8 + Tomcat8.5 + mysql + Eclispe (both supported by IntelliJ IDEA,Eclispe,MyEclispe,Sts)
Project technology: JSP + Spring + SpringMVC + MyBatis + html+ css + JavaScript + JQuery + Ajax + maven and so on.
User Information Management Controller: / * user Management Controller * / @ RequestMapping ("/ user/") @ Controllerpublic class UserController {@ Autowired private IUserService userService; @ Autowired private IRoleService roleService; @ Resource private ProcessEngineConfiguration configuration; @ Resource private ProcessEngine engine @ GetMapping ("/ index") @ ApiOperation ("Redirect user Page Interface") @ PreAuthorize ("hasRole ('administrator')") public String index (String menuid,Model model) {List roles = queryAllRole (); model.addAttribute ("roles", roles); model.addAttribute ("menuid", menuid); / / user homepage return "views/user/user_list" } @ GetMapping ("/ listpage") @ ApiOperation ("query user paging data interface") @ ApiImplicitParams ({@ ApiImplicitParam (name = "UserQuery", value = "user query object", defaultValue = "userQuery object")}) @ ResponseBody @ PreAuthorize ("hasRole ('administrator')") public PageList listpage (UserQuery userQuery) {return userService.listpage (userQuery) } / / add user @ PostMapping ("/ addUser") @ ApiOperation ("add user interface") @ ResponseBody public Map addUser (User user) {Map ret = new HashMap (); ret.put ("code",-1); if (StringUtils.isEmpty (user.getUsername () {ret.put ("msg", "Please fill in user name"); return ret } if (StringUtils.isEmpty (user.getPassword () {ret.put ("msg", "Please fill in the password"); return ret;} if (StringUtils.isEmpty (user.getEmail () {ret.put ("msg", "Please fill in the mailbox"); return ret } if (StringUtils.isEmpty (user.getTel () {ret.put ("msg", "Please fill in the phone number"); return ret;} if (StringUtils.isEmpty (user.getHeadImg () {ret.put ("msg", "Please upload avatar"); return ret;} if (userService.addUser (user))
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.