├── src └── main │ ├── webapp │ ├── META-INF │ │ └── MANIFEST.MF │ ├── static │ │ ├── images │ │ │ ├── h2Bg.gif │ │ │ ├── menuBg1.gif │ │ │ ├── menuBg2.gif │ │ │ └── searchBg.gif │ │ ├── js │ │ │ └── script.js │ │ └── css │ │ │ └── home_style.css │ ├── WEB-INF │ │ ├── views │ │ │ ├── home │ │ │ │ ├── siteInfo.jsp │ │ │ │ ├── index.jsp │ │ │ │ ├── page2.jsp │ │ │ │ ├── page4.jsp │ │ │ │ ├── page1.jsp │ │ │ │ ├── page6.jsp │ │ │ │ ├── page3.jsp │ │ │ │ └── page5.jsp │ │ │ ├── regist.jsp │ │ │ └── login.jsp │ │ └── web.xml │ └── index.jsp │ ├── resources │ ├── messages │ │ ├── messages_en.properties │ │ ├── messages_zh.properties │ │ └── validationMessageSource.properties │ ├── jdbc.properties │ ├── mybatis │ │ └── mybatis-config.xml │ ├── log4j.properties │ ├── sql │ │ ├── User.sql │ │ ├── Student.sql │ │ └── Score.sql │ └── spring │ │ └── applicationContext.xml │ └── java │ ├── com │ └── ssm │ │ ├── controller │ │ ├── validation │ │ │ └── ValidGroupByUser.java │ │ ├── indexController.java │ │ ├── exception │ │ │ ├── ExceptionByUser.java │ │ │ └── ExceptionResover.java │ │ ├── converter │ │ │ └── CustomDateConverter.java │ │ ├── homeController.java │ │ ├── StudentController.java │ │ ├── ScoreController.java │ │ ├── StudentProController.java │ │ └── UserController.java │ │ ├── mapper │ │ ├── StudentProMapper.java │ │ ├── UserMapper.java │ │ ├── ScoreMapper.java │ │ ├── StudentMapper.java │ │ └── StudentProMapper.xml │ │ ├── pojo │ │ ├── ScorePro.java │ │ ├── StudentPro.java │ │ ├── StudentKey.java │ │ ├── Student.java │ │ ├── Score.java │ │ └── User.java │ │ ├── service │ │ ├── StudentProService.java │ │ ├── UserService.java │ │ ├── StudentService.java │ │ ├── ScoreService.java │ │ └── impl │ │ │ ├── StudentProServiceImpl.java │ │ │ ├── StudentServiceImpl.java │ │ │ ├── ScoreServiceImpl.java │ │ │ └── UserServiceImpl.java │ │ └── interceptor │ │ └── LanguageInterceptor.java │ └── test │ └── runGeneratorMain.java ├── target ├── classes │ ├── META-INF │ │ └── SSMExample.kotlin_module │ ├── messages │ │ ├── messages_en.properties │ │ ├── messages_zh.properties │ │ └── validationMessageSource.properties │ ├── com │ │ └── ssm │ │ │ ├── pojo │ │ │ ├── Score.class │ │ │ ├── User.class │ │ │ ├── Student.class │ │ │ ├── ScorePro.class │ │ │ ├── StudentKey.class │ │ │ ├── StudentPro.class │ │ │ ├── ScoreExample.class │ │ │ ├── UserExample.class │ │ │ ├── StudentExample.class │ │ │ ├── UserExample$Criteria.class │ │ │ ├── ScoreExample$Criteria.class │ │ │ ├── ScoreExample$Criterion.class │ │ │ ├── UserExample$Criterion.class │ │ │ ├── StudentExample$Criteria.class │ │ │ ├── StudentExample$Criterion.class │ │ │ ├── ScoreExample$GeneratedCriteria.class │ │ │ ├── UserExample$GeneratedCriteria.class │ │ │ └── StudentExample$GeneratedCriteria.class │ │ │ ├── mapper │ │ │ ├── UserMapper.class │ │ │ ├── ScoreMapper.class │ │ │ ├── StudentMapper.class │ │ │ ├── StudentProMapper.class │ │ │ └── StudentProMapper.xml │ │ │ ├── service │ │ │ ├── ScoreService.class │ │ │ ├── UserService.class │ │ │ ├── StudentService.class │ │ │ ├── StudentProService.class │ │ │ └── impl │ │ │ │ ├── ScoreServiceImpl.class │ │ │ │ ├── UserServiceImpl.class │ │ │ │ ├── StudentServiceImpl.class │ │ │ │ └── StudentProServiceImpl.class │ │ │ ├── controller │ │ │ ├── UserController.class │ │ │ ├── homeController.class │ │ │ ├── ScoreController.class │ │ │ ├── indexController.class │ │ │ ├── StudentController.class │ │ │ ├── StudentProController.class │ │ │ ├── exception │ │ │ │ ├── ExceptionByUser.class │ │ │ │ └── ExceptionResover.class │ │ │ ├── converter │ │ │ │ └── CustomDateConverter.class │ │ │ └── validation │ │ │ │ └── ValidGroupByUser.class │ │ │ └── interceptor │ │ │ └── LanguageInterceptor.class │ ├── test │ │ └── runGeneratorMain.class │ ├── jdbc.properties │ ├── mybatis │ │ └── mybatis-config.xml │ ├── log4j.properties │ ├── sql │ │ ├── User.sql │ │ ├── Student.sql │ │ └── Score.sql │ └── spring │ │ └── applicationContext.xml └── SSMExample │ ├── META-INF │ └── MANIFEST.MF │ ├── WEB-INF │ ├── classes │ │ ├── META-INF │ │ │ └── SSMExample.kotlin_module │ │ ├── messages │ │ │ ├── messages_en.properties │ │ │ ├── messages_zh.properties │ │ │ └── validationMessageSource.properties │ │ ├── com │ │ │ └── ssm │ │ │ │ ├── pojo │ │ │ │ ├── Score.class │ │ │ │ ├── User.class │ │ │ │ ├── ScorePro.class │ │ │ │ ├── Student.class │ │ │ │ ├── StudentKey.class │ │ │ │ ├── StudentPro.class │ │ │ │ ├── UserExample.class │ │ │ │ ├── ScoreExample.class │ │ │ │ ├── StudentExample.class │ │ │ │ ├── ScoreExample$Criteria.class │ │ │ │ ├── UserExample$Criteria.class │ │ │ │ ├── UserExample$Criterion.class │ │ │ │ ├── ScoreExample$Criterion.class │ │ │ │ ├── StudentExample$Criteria.class │ │ │ │ ├── StudentExample$Criterion.class │ │ │ │ ├── ScoreExample$GeneratedCriteria.class │ │ │ │ ├── UserExample$GeneratedCriteria.class │ │ │ │ └── StudentExample$GeneratedCriteria.class │ │ │ │ ├── mapper │ │ │ │ ├── ScoreMapper.class │ │ │ │ ├── UserMapper.class │ │ │ │ ├── StudentMapper.class │ │ │ │ ├── StudentProMapper.class │ │ │ │ └── StudentProMapper.xml │ │ │ │ ├── service │ │ │ │ ├── ScoreService.class │ │ │ │ ├── UserService.class │ │ │ │ ├── StudentService.class │ │ │ │ ├── StudentProService.class │ │ │ │ └── impl │ │ │ │ │ ├── UserServiceImpl.class │ │ │ │ │ ├── ScoreServiceImpl.class │ │ │ │ │ ├── StudentServiceImpl.class │ │ │ │ │ └── StudentProServiceImpl.class │ │ │ │ ├── controller │ │ │ │ ├── ScoreController.class │ │ │ │ ├── UserController.class │ │ │ │ ├── homeController.class │ │ │ │ ├── indexController.class │ │ │ │ ├── StudentController.class │ │ │ │ ├── StudentProController.class │ │ │ │ ├── exception │ │ │ │ │ ├── ExceptionByUser.class │ │ │ │ │ └── ExceptionResover.class │ │ │ │ ├── validation │ │ │ │ │ └── ValidGroupByUser.class │ │ │ │ └── converter │ │ │ │ │ └── CustomDateConverter.class │ │ │ │ └── interceptor │ │ │ │ └── LanguageInterceptor.class │ │ ├── test │ │ │ └── runGeneratorMain.class │ │ ├── jdbc.properties │ │ ├── mybatis │ │ │ └── mybatis-config.xml │ │ ├── log4j.properties │ │ ├── sql │ │ │ ├── User.sql │ │ │ ├── Student.sql │ │ │ └── Score.sql │ │ └── spring │ │ │ └── applicationContext.xml │ ├── lib │ │ ├── jstl-1.2.jar │ │ ├── junit-4.12.jar │ │ ├── c3p0-0.9.5.4.jar │ │ ├── cdi-api-1.0.jar │ │ ├── dom4j-1.6.1.jar │ │ ├── log4j-1.2.17.jar │ │ ├── aopalliance-1.0.jar │ │ ├── classmate-1.3.4.jar │ │ ├── commons-io-2.6.jar │ │ ├── javax.inject-1.jar │ │ ├── jettison-1.4.0.jar │ │ ├── json-20180813.jar │ │ ├── jsr250-api-1.0.jar │ │ ├── mybatis-3.5.1.jar │ │ ├── slf4j-api-1.7.2.jar │ │ ├── standard-1.1.2.jar │ │ ├── xml-apis-1.0.b2.jar │ │ ├── xstream-1.2.2.jar │ │ ├── commons-lang3-3.5.jar │ │ ├── hamcrest-core-1.3.jar │ │ ├── maven-model-3.5.4.jar │ │ ├── aspectjweaver-1.9.3.jar │ │ ├── commons-logging-1.2.jar │ │ ├── jackson-core-2.9.9.jar │ │ ├── maven-artifact-3.5.4.jar │ │ ├── mybatis-spring-2.0.1.jar │ │ ├── plexus-utils-3.1.0.jar │ │ ├── protobuf-java-3.6.1.jar │ │ ├── slf4j-log4j12-1.7.2.jar │ │ ├── xpp3_min-1.1.3.4.O.jar │ │ ├── commons-fileupload-1.4.jar │ │ ├── jackson-databind-2.9.9.jar │ │ ├── maven-plugin-api-3.5.4.jar │ │ ├── jackson-annotations-2.9.9.jar │ │ ├── jboss-logging-3.3.2.Final.jar │ │ ├── plexus-classworlds-2.5.2.jar │ │ ├── spring-aop-5.1.7.RELEASE.jar │ │ ├── spring-core-5.1.7.RELEASE.jar │ │ ├── spring-jcl-5.1.7.RELEASE.jar │ │ ├── spring-jdbc-5.1.7.RELEASE.jar │ │ ├── spring-oxm-5.1.7.RELEASE.jar │ │ ├── spring-tx-5.1.7.RELEASE.jar │ │ ├── spring-web-5.1.7.RELEASE.jar │ │ ├── mchange-commons-java-0.2.15.jar │ │ ├── mysql-connector-java-8.0.16.jar │ │ ├── spring-beans-5.1.7.RELEASE.jar │ │ ├── spring-webmvc-5.1.7.RELEASE.jar │ │ ├── validation-api-2.0.1.Final.jar │ │ ├── mybatis-generator-core-1.3.7.jar │ │ ├── org.eclipse.sisu.inject-0.3.3.jar │ │ ├── org.eclipse.sisu.plexus-0.3.3.jar │ │ ├── spring-aspects-5.1.7.RELEASE.jar │ │ ├── spring-context-5.1.7.RELEASE.jar │ │ ├── hibernate-validator-6.1.0.Alpha4.jar │ │ ├── spring-expression-5.1.7.RELEASE.jar │ │ ├── plexus-component-annotations-1.5.5.jar │ │ ├── mybatis-generator-maven-plugin-1.3.7.jar │ │ └── spring-context-support-5.1.7.RELEASE.jar │ ├── views │ │ ├── home │ │ │ ├── siteInfo.jsp │ │ │ ├── index.jsp │ │ │ ├── page2.jsp │ │ │ ├── page4.jsp │ │ │ ├── page1.jsp │ │ │ ├── page6.jsp │ │ │ ├── page3.jsp │ │ │ └── page5.jsp │ │ ├── regist.jsp │ │ └── login.jsp │ └── web.xml │ ├── static │ ├── images │ │ ├── h2Bg.gif │ │ ├── menuBg1.gif │ │ ├── menuBg2.gif │ │ └── searchBg.gif │ ├── js │ │ └── script.js │ └── css │ │ └── home_style.css │ └── index.jsp ├── .idea ├── vcs.xml ├── encodings.xml ├── artifacts │ └── SSMExample_war_archive.xml ├── compiler.xml ├── misc.xml ├── dataSources.local.xml └── dataSources.xml ├── README.md ├── SSMExample.iml └── generatorConfig.xml /src/main/webapp/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | 3 | -------------------------------------------------------------------------------- /target/classes/META-INF/SSMExample.kotlin_module: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /target/classes/messages/messages_en.properties: -------------------------------------------------------------------------------- 1 | index.title=IndexPage -------------------------------------------------------------------------------- /src/main/resources/messages/messages_en.properties: -------------------------------------------------------------------------------- 1 | index.title=IndexPage -------------------------------------------------------------------------------- /target/SSMExample/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | 3 | -------------------------------------------------------------------------------- /target/classes/messages/messages_zh.properties: -------------------------------------------------------------------------------- 1 | index.title=\u4E3B\u9875 -------------------------------------------------------------------------------- /src/main/resources/messages/messages_zh.properties: -------------------------------------------------------------------------------- 1 | index.title=\u4E3B\u9875 -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/META-INF/SSMExample.kotlin_module: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/messages/messages_en.properties: -------------------------------------------------------------------------------- 1 | index.title=IndexPage -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/messages/messages_zh.properties: -------------------------------------------------------------------------------- 1 | index.title=\u4E3B\u9875 -------------------------------------------------------------------------------- /target/classes/messages/validationMessageSource.properties: -------------------------------------------------------------------------------- 1 | #添加校验错误提交信息 2 | user.username.length.error=字符小于4位或超过20位 3 | user.password.length.error=密码不能为空 -------------------------------------------------------------------------------- /src/main/resources/messages/validationMessageSource.properties: -------------------------------------------------------------------------------- 1 | #添加校验错误提交信息 2 | user.username.length.error=字符小于4位或超过20位 3 | user.password.length.error=密码不能为空 -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/messages/validationMessageSource.properties: -------------------------------------------------------------------------------- 1 | #添加校验错误提交信息 2 | user.username.length.error=字符小于4位或超过20位 3 | user.password.length.error=密码不能为空 -------------------------------------------------------------------------------- /src/main/webapp/static/images/h2Bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/src/main/webapp/static/images/h2Bg.gif -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/Score.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/Score.class -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/User.class -------------------------------------------------------------------------------- /src/main/webapp/static/images/menuBg1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/src/main/webapp/static/images/menuBg1.gif -------------------------------------------------------------------------------- /src/main/webapp/static/images/menuBg2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/src/main/webapp/static/images/menuBg2.gif -------------------------------------------------------------------------------- /target/SSMExample/static/images/h2Bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/static/images/h2Bg.gif -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/Student.class -------------------------------------------------------------------------------- /src/main/webapp/static/images/searchBg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/src/main/webapp/static/images/searchBg.gif -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/jstl-1.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/jstl-1.2.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/junit-4.12.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/junit-4.12.jar -------------------------------------------------------------------------------- /target/SSMExample/static/images/menuBg1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/static/images/menuBg1.gif -------------------------------------------------------------------------------- /target/SSMExample/static/images/menuBg2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/static/images/menuBg2.gif -------------------------------------------------------------------------------- /target/SSMExample/static/images/searchBg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/static/images/searchBg.gif -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/ScorePro.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/ScorePro.class -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/StudentKey.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/StudentKey.class -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/StudentPro.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/StudentPro.class -------------------------------------------------------------------------------- /target/classes/test/runGeneratorMain.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/test/runGeneratorMain.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/c3p0-0.9.5.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/c3p0-0.9.5.4.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/cdi-api-1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/cdi-api-1.0.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/dom4j-1.6.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/dom4j-1.6.1.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/log4j-1.2.17.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/log4j-1.2.17.jar -------------------------------------------------------------------------------- /target/classes/com/ssm/mapper/UserMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/mapper/UserMapper.class -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/ScoreExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/ScoreExample.class -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/UserExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/UserExample.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/aopalliance-1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/aopalliance-1.0.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/classmate-1.3.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/classmate-1.3.4.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/commons-io-2.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/commons-io-2.6.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/javax.inject-1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/javax.inject-1.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/jettison-1.4.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/jettison-1.4.0.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/json-20180813.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/json-20180813.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/jsr250-api-1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/jsr250-api-1.0.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/mybatis-3.5.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/mybatis-3.5.1.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/slf4j-api-1.7.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/slf4j-api-1.7.2.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/standard-1.1.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/standard-1.1.2.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/xml-apis-1.0.b2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/xml-apis-1.0.b2.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/xstream-1.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/xstream-1.2.2.jar -------------------------------------------------------------------------------- /target/classes/com/ssm/mapper/ScoreMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/mapper/ScoreMapper.class -------------------------------------------------------------------------------- /target/classes/com/ssm/mapper/StudentMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/mapper/StudentMapper.class -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/StudentExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/StudentExample.class -------------------------------------------------------------------------------- /target/classes/com/ssm/service/ScoreService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/service/ScoreService.class -------------------------------------------------------------------------------- /target/classes/com/ssm/service/UserService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/service/UserService.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/commons-lang3-3.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/commons-lang3-3.5.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/hamcrest-core-1.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/hamcrest-core-1.3.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/maven-model-3.5.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/maven-model-3.5.4.jar -------------------------------------------------------------------------------- /target/classes/com/ssm/service/StudentService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/service/StudentService.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/aspectjweaver-1.9.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/aspectjweaver-1.9.3.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/commons-logging-1.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/commons-logging-1.2.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/jackson-core-2.9.9.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/jackson-core-2.9.9.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/maven-artifact-3.5.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/maven-artifact-3.5.4.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/mybatis-spring-2.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/mybatis-spring-2.0.1.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/plexus-utils-3.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/plexus-utils-3.1.0.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/protobuf-java-3.6.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/protobuf-java-3.6.1.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/slf4j-log4j12-1.7.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/slf4j-log4j12-1.7.2.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/xpp3_min-1.1.3.4.O.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/xpp3_min-1.1.3.4.O.jar -------------------------------------------------------------------------------- /target/classes/com/ssm/controller/UserController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/controller/UserController.class -------------------------------------------------------------------------------- /target/classes/com/ssm/controller/homeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/controller/homeController.class -------------------------------------------------------------------------------- /target/classes/com/ssm/mapper/StudentProMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/mapper/StudentProMapper.class -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/UserExample$Criteria.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/UserExample$Criteria.class -------------------------------------------------------------------------------- /target/classes/com/ssm/service/StudentProService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/service/StudentProService.class -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/commons-fileupload-1.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/commons-fileupload-1.4.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/jackson-databind-2.9.9.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/jackson-databind-2.9.9.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/maven-plugin-api-3.5.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/maven-plugin-api-3.5.4.jar -------------------------------------------------------------------------------- /target/classes/com/ssm/controller/ScoreController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/controller/ScoreController.class -------------------------------------------------------------------------------- /target/classes/com/ssm/controller/indexController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/controller/indexController.class -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/ScoreExample$Criteria.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/ScoreExample$Criteria.class -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/ScoreExample$Criterion.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/ScoreExample$Criterion.class -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/UserExample$Criterion.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/UserExample$Criterion.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/Score.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/Score.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/User.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/jackson-annotations-2.9.9.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/jackson-annotations-2.9.9.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/jboss-logging-3.3.2.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/jboss-logging-3.3.2.Final.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/plexus-classworlds-2.5.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/plexus-classworlds-2.5.2.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/spring-aop-5.1.7.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/spring-aop-5.1.7.RELEASE.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/spring-core-5.1.7.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/spring-core-5.1.7.RELEASE.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/spring-jcl-5.1.7.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/spring-jcl-5.1.7.RELEASE.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/spring-jdbc-5.1.7.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/spring-jdbc-5.1.7.RELEASE.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/spring-oxm-5.1.7.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/spring-oxm-5.1.7.RELEASE.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/spring-tx-5.1.7.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/spring-tx-5.1.7.RELEASE.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/spring-web-5.1.7.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/spring-web-5.1.7.RELEASE.jar -------------------------------------------------------------------------------- /target/classes/com/ssm/controller/StudentController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/controller/StudentController.class -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/StudentExample$Criteria.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/StudentExample$Criteria.class -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/StudentExample$Criterion.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/StudentExample$Criterion.class -------------------------------------------------------------------------------- /target/classes/com/ssm/service/impl/ScoreServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/service/impl/ScoreServiceImpl.class -------------------------------------------------------------------------------- /target/classes/com/ssm/service/impl/UserServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/service/impl/UserServiceImpl.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/ScorePro.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/ScorePro.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/Student.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/test/runGeneratorMain.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/test/runGeneratorMain.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/mchange-commons-java-0.2.15.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/mchange-commons-java-0.2.15.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/mysql-connector-java-8.0.16.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/mysql-connector-java-8.0.16.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/spring-beans-5.1.7.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/spring-beans-5.1.7.RELEASE.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/spring-webmvc-5.1.7.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/spring-webmvc-5.1.7.RELEASE.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/validation-api-2.0.1.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/validation-api-2.0.1.Final.jar -------------------------------------------------------------------------------- /target/classes/com/ssm/controller/StudentProController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/controller/StudentProController.class -------------------------------------------------------------------------------- /target/classes/com/ssm/interceptor/LanguageInterceptor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/interceptor/LanguageInterceptor.class -------------------------------------------------------------------------------- /target/classes/com/ssm/service/impl/StudentServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/service/impl/StudentServiceImpl.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/StudentKey.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/StudentKey.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/StudentPro.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/StudentPro.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/UserExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/UserExample.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/mybatis-generator-core-1.3.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/mybatis-generator-core-1.3.7.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/org.eclipse.sisu.inject-0.3.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/org.eclipse.sisu.inject-0.3.3.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/org.eclipse.sisu.plexus-0.3.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/org.eclipse.sisu.plexus-0.3.3.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/spring-aspects-5.1.7.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/spring-aspects-5.1.7.RELEASE.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/spring-context-5.1.7.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/spring-context-5.1.7.RELEASE.jar -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/ScoreExample$GeneratedCriteria.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/ScoreExample$GeneratedCriteria.class -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/UserExample$GeneratedCriteria.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/UserExample$GeneratedCriteria.class -------------------------------------------------------------------------------- /target/classes/com/ssm/service/impl/StudentProServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/service/impl/StudentProServiceImpl.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/mapper/ScoreMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/mapper/ScoreMapper.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/mapper/UserMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/mapper/UserMapper.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/ScoreExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/ScoreExample.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/hibernate-validator-6.1.0.Alpha4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/hibernate-validator-6.1.0.Alpha4.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/spring-expression-5.1.7.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/spring-expression-5.1.7.RELEASE.jar -------------------------------------------------------------------------------- /target/classes/com/ssm/controller/exception/ExceptionByUser.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/controller/exception/ExceptionByUser.class -------------------------------------------------------------------------------- /target/classes/com/ssm/controller/exception/ExceptionResover.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/controller/exception/ExceptionResover.class -------------------------------------------------------------------------------- /target/classes/com/ssm/pojo/StudentExample$GeneratedCriteria.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/pojo/StudentExample$GeneratedCriteria.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/mapper/StudentMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/mapper/StudentMapper.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/StudentExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/StudentExample.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/service/ScoreService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/service/ScoreService.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/service/UserService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/service/UserService.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/plexus-component-annotations-1.5.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/plexus-component-annotations-1.5.5.jar -------------------------------------------------------------------------------- /target/classes/com/ssm/controller/converter/CustomDateConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/controller/converter/CustomDateConverter.class -------------------------------------------------------------------------------- /target/classes/com/ssm/controller/validation/ValidGroupByUser.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/classes/com/ssm/controller/validation/ValidGroupByUser.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/mapper/StudentProMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/mapper/StudentProMapper.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/service/StudentService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/service/StudentService.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/mybatis-generator-maven-plugin-1.3.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/mybatis-generator-maven-plugin-1.3.7.jar -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/lib/spring-context-support-5.1.7.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/lib/spring-context-support-5.1.7.RELEASE.jar -------------------------------------------------------------------------------- /src/main/java/com/ssm/controller/validation/ValidGroupByUser.java: -------------------------------------------------------------------------------- 1 | package com.ssm.controller.validation; 2 | 3 | public interface ValidGroupByUser { 4 | //接口中不需要定义任何方法,仅是对不同的校验规则进行分组 5 | 6 | //用于用户名不能超过20个字符 7 | //用户密码不能为空 8 | } 9 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/controller/ScoreController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/controller/ScoreController.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/controller/UserController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/controller/UserController.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/controller/homeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/controller/homeController.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/controller/indexController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/controller/indexController.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/ScoreExample$Criteria.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/ScoreExample$Criteria.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/UserExample$Criteria.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/UserExample$Criteria.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/UserExample$Criterion.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/UserExample$Criterion.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/service/StudentProService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/service/StudentProService.class -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/controller/StudentController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/controller/StudentController.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/ScoreExample$Criterion.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/ScoreExample$Criterion.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/StudentExample$Criteria.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/StudentExample$Criteria.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/service/impl/UserServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/service/impl/UserServiceImpl.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/controller/StudentProController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/controller/StudentProController.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/interceptor/LanguageInterceptor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/interceptor/LanguageInterceptor.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/StudentExample$Criterion.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/StudentExample$Criterion.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/service/impl/ScoreServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/service/impl/ScoreServiceImpl.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/service/impl/StudentServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/service/impl/StudentServiceImpl.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/controller/exception/ExceptionByUser.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/controller/exception/ExceptionByUser.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/ScoreExample$GeneratedCriteria.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/ScoreExample$GeneratedCriteria.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/UserExample$GeneratedCriteria.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/UserExample$GeneratedCriteria.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/service/impl/StudentProServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/service/impl/StudentProServiceImpl.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/controller/exception/ExceptionResover.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/controller/exception/ExceptionResover.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/controller/validation/ValidGroupByUser.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/controller/validation/ValidGroupByUser.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/pojo/StudentExample$GeneratedCriteria.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/pojo/StudentExample$GeneratedCriteria.class -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/controller/converter/CustomDateConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysteriousElement/SSMExample-For-Student-Score-Management-System/HEAD/target/SSMExample/WEB-INF/classes/com/ssm/controller/converter/CustomDateConverter.class -------------------------------------------------------------------------------- /src/main/java/com/ssm/mapper/StudentProMapper.java: -------------------------------------------------------------------------------- 1 | package com.ssm.mapper; 2 | 3 | import com.ssm.pojo.ScorePro; 4 | import com.ssm.pojo.StudentPro; 5 | 6 | import java.util.List; 7 | 8 | public interface StudentProMapper { 9 | List selectAll(); 10 | List selectAllBySubject(ScorePro scorePro); 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/pojo/ScorePro.java: -------------------------------------------------------------------------------- 1 | package com.ssm.pojo; 2 | 3 | public class ScorePro extends Score { 4 | private Student student; 5 | 6 | public Student getStudent() { 7 | return student; 8 | } 9 | 10 | public void setStudent(Student student) { 11 | this.student = student; 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/main/resources/jdbc.properties: -------------------------------------------------------------------------------- 1 | jdbc.driver=com.mysql.cj.jdbc.Driver 2 | jdbc.url=jdbc:mysql://127.0.0.1:3306/develop?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true 3 | jdbc.username=root 4 | jdbc.password=root 5 | c3p0.minPoolSize=1 6 | c3p0.maxPoolSize=5 7 | c3p0.initialPoolSize=1 8 | c3p0.acquireIncrement=1 -------------------------------------------------------------------------------- /target/classes/jdbc.properties: -------------------------------------------------------------------------------- 1 | jdbc.driver=com.mysql.cj.jdbc.Driver 2 | jdbc.url=jdbc:mysql://o0oo0oo0o.cn:3306/develop?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true 3 | jdbc.username=root 4 | jdbc.password=o0oo0oo0o.cn 5 | c3p0.minPoolSize=1 6 | c3p0.maxPoolSize=5 7 | c3p0.initialPoolSize=1 8 | c3p0.acquireIncrement=1 -------------------------------------------------------------------------------- /src/main/java/com/ssm/pojo/StudentPro.java: -------------------------------------------------------------------------------- 1 | package com.ssm.pojo; 2 | 3 | import java.util.List; 4 | 5 | public class StudentPro extends Student { 6 | private List score; 7 | 8 | public List getScore() { 9 | return score; 10 | } 11 | 12 | public void setScore(List score) { 13 | this.score = score; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/jdbc.properties: -------------------------------------------------------------------------------- 1 | jdbc.driver=com.mysql.cj.jdbc.Driver 2 | jdbc.url=jdbc:mysql://o0oo0oo0o.cn:3306/develop?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true 3 | jdbc.username=root 4 | jdbc.password=o0oo0oo0o.cn 5 | c3p0.minPoolSize=1 6 | c3p0.maxPoolSize=5 7 | c3p0.initialPoolSize=1 8 | c3p0.acquireIncrement=1 -------------------------------------------------------------------------------- /.idea/artifacts/SSMExample_war_archive.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $PROJECT_DIR$/out/artifacts/SSMExample_war_archive 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/service/StudentProService.java: -------------------------------------------------------------------------------- 1 | package com.ssm.service; 2 | 3 | import com.ssm.pojo.ScorePro; 4 | import com.ssm.pojo.StudentPro; 5 | 6 | import java.util.List; 7 | 8 | public interface StudentProService { 9 | public List selectAll() throws Exception; 10 | public List selectAllBySubject(ScorePro scorePro) throws Exception; 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.ssm.service; 2 | 3 | import com.ssm.pojo.User; 4 | 5 | public interface UserService { 6 | 7 | public User login(User user)throws Exception; 8 | public User regist(User user)throws Exception; 9 | public boolean findUserByName(User user) throws Exception; 10 | public User update(User user) throws Exception; 11 | } 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SSMExample-For-Student-Score-Management-System 2 | 使用IDEA开发工具搭建的SSM项目:学生信息及成绩管理系统 3 | 4 | 开发环境:jdk-12 + tomcat-9 + mysql-8.0 5 | 6 | 开发时间:1天完成 7 | 8 | 使用框架:maven-4.0 + spring-5.1.7 + springmvc-5.1.7 + mybatis-3.5.1 + generator-1.3.7 9 | 10 | 所用的jar包:在pom.xml配置 11 | 12 | 底层sql文件:User.sql , Student.sql , Score.sql (在 main-resources-sql 内) 13 | 14 | 说明:由于是小型项目,用于初学者练手用,有些功能搭建却没全部实现,例如:i18n搭建完成没有完全实现,interceptor搭建没完全实现,exception处理搭建没完全实现,validation搭建键没完全实现。 15 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/service/StudentService.java: -------------------------------------------------------------------------------- 1 | package com.ssm.service; 2 | 3 | import com.ssm.pojo.Student; 4 | 5 | import java.util.List; 6 | 7 | public interface StudentService { 8 | public Student insertStudent(Student student) throws Exception; 9 | public Student updateStudent(Student student) throws Exception; 10 | public Student selectStudent(Student student) throws Exception; 11 | public List selectAll(Student student) throws Exception; 12 | } 13 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/pojo/StudentKey.java: -------------------------------------------------------------------------------- 1 | package com.ssm.pojo; 2 | 3 | public class StudentKey { 4 | private Integer sid; 5 | 6 | private Integer sno; 7 | 8 | public Integer getSid() { 9 | return sid; 10 | } 11 | 12 | public void setSid(Integer sid) { 13 | this.sid = sid; 14 | } 15 | 16 | public Integer getSno() { 17 | return sno; 18 | } 19 | 20 | public void setSno(Integer sno) { 21 | this.sno = sno; 22 | } 23 | } -------------------------------------------------------------------------------- /src/main/java/com/ssm/controller/indexController.java: -------------------------------------------------------------------------------- 1 | package com.ssm.controller; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.web.bind.annotation.RequestMapping; 5 | 6 | @Controller 7 | public class indexController { 8 | 9 | @RequestMapping("getReg") 10 | public String getReg(){ 11 | return "regist"; 12 | } 13 | 14 | @RequestMapping("getLog") 15 | public String getLog(){ 16 | return "login"; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/service/ScoreService.java: -------------------------------------------------------------------------------- 1 | package com.ssm.service; 2 | 3 | import com.ssm.pojo.Score; 4 | 5 | import java.util.List; 6 | 7 | public interface ScoreService { 8 | public Score insertScore(Score score) throws Exception; 9 | public Score updateScore(Score score) throws Exception; 10 | public List selectAllScore(Score score)throws Exception; 11 | public Score selectScore(Score score)throws Exception; 12 | public int delect(Score score) throws Exception; 13 | } 14 | -------------------------------------------------------------------------------- /SSMExample.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/controller/exception/ExceptionByUser.java: -------------------------------------------------------------------------------- 1 | package com.ssm.controller.exception; 2 | 3 | public class ExceptionByUser extends Exception { 4 | 5 | //异常信息 6 | public String message; 7 | 8 | @Override 9 | public String getMessage() { 10 | return message; 11 | } 12 | 13 | public void setMessage(String message) { 14 | this.message = message; 15 | } 16 | 17 | public ExceptionByUser(String message) { 18 | super(message); 19 | this.message = message; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/pojo/Student.java: -------------------------------------------------------------------------------- 1 | package com.ssm.pojo; 2 | 3 | public class Student extends StudentKey { 4 | private String sname; 5 | 6 | private String sex; 7 | 8 | private Integer age; 9 | 10 | public String getSname() { 11 | return sname; 12 | } 13 | 14 | public void setSname(String sname) { 15 | this.sname = sname == null ? null : sname.trim(); 16 | } 17 | 18 | public String getSex() { 19 | return sex; 20 | } 21 | 22 | public void setSex(String sex) { 23 | this.sex = sex == null ? null : sex.trim(); 24 | } 25 | 26 | public Integer getAge() { 27 | return age; 28 | } 29 | 30 | public void setAge(Integer age) { 31 | this.age = age; 32 | } 33 | } -------------------------------------------------------------------------------- /src/main/java/com/ssm/controller/converter/CustomDateConverter.java: -------------------------------------------------------------------------------- 1 | package com.ssm.controller.converter; 2 | 3 | import org.springframework.core.convert.converter.Converter; 4 | 5 | import java.text.ParseException; 6 | import java.text.SimpleDateFormat; 7 | import java.util.Date; 8 | 9 | public class CustomDateConverter implements Converter { 10 | @Override 11 | public Date convert(String source) { 12 | //实现 将日期串转成日期类型(格式是yyyy-MM-dd HH:mm:ss) 13 | SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd"); 14 | try { 15 | //转成直接返回 16 | return simpleDateFormat.parse(source); 17 | } catch (ParseException e) { 18 | e.printStackTrace(); 19 | return null; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/service/impl/StudentProServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.ssm.service.impl; 2 | 3 | import com.ssm.mapper.StudentProMapper; 4 | import com.ssm.pojo.ScorePro; 5 | import com.ssm.pojo.StudentPro; 6 | import com.ssm.service.StudentProService; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.stereotype.Service; 9 | 10 | import java.util.List; 11 | 12 | @Service 13 | public class StudentProServiceImpl implements StudentProService { 14 | 15 | @Autowired 16 | private StudentProMapper studentProMapper; 17 | 18 | @Override 19 | public List selectAll() throws Exception { 20 | return studentProMapper.selectAll(); 21 | } 22 | 23 | @Override 24 | public List selectAllBySubject(ScorePro scorePro) throws Exception { 25 | return studentProMapper.selectAllBySubject(scorePro); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /.idea/dataSources.local.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | #@ 7 | ` 8 | 9 | 10 | master_key 11 | root 12 | *:develop 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/mapper/UserMapper.java: -------------------------------------------------------------------------------- 1 | package com.ssm.mapper; 2 | 3 | import com.ssm.pojo.User; 4 | import com.ssm.pojo.UserExample; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | public interface UserMapper { 10 | long countByExample(UserExample example); 11 | 12 | int deleteByExample(UserExample example); 13 | 14 | int deleteByPrimaryKey(Integer uid); 15 | 16 | int insert(User record); 17 | 18 | int insertSelective(User record); 19 | 20 | List selectByExample(UserExample example); 21 | 22 | User selectByPrimaryKey(Integer uid); 23 | 24 | int updateByExampleSelective(@Param("record") User record, @Param("example") UserExample example); 25 | 26 | int updateByExample(@Param("record") User record, @Param("example") UserExample example); 27 | 28 | int updateByPrimaryKeySelective(User record); 29 | 30 | int updateByPrimaryKey(User record); 31 | } -------------------------------------------------------------------------------- /src/main/java/com/ssm/mapper/ScoreMapper.java: -------------------------------------------------------------------------------- 1 | package com.ssm.mapper; 2 | 3 | import com.ssm.pojo.Score; 4 | import com.ssm.pojo.ScoreExample; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | public interface ScoreMapper { 10 | long countByExample(ScoreExample example); 11 | 12 | int deleteByExample(ScoreExample example); 13 | 14 | int deleteByPrimaryKey(Integer id); 15 | 16 | int insert(Score record); 17 | 18 | int insertSelective(Score record); 19 | 20 | List selectByExample(ScoreExample example); 21 | 22 | Score selectByPrimaryKey(Integer id); 23 | 24 | int updateByExampleSelective(@Param("record") Score record, @Param("example") ScoreExample example); 25 | 26 | int updateByExample(@Param("record") Score record, @Param("example") ScoreExample example); 27 | 28 | int updateByPrimaryKeySelective(Score record); 29 | 30 | int updateByPrimaryKey(Score record); 31 | } -------------------------------------------------------------------------------- /.idea/dataSources.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | mysql.8 6 | true 7 | com.mysql.cj.jdbc.Driver 8 | jdbc:mysql://o0oo0oo0o.cn:3306/develop 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/mapper/StudentMapper.java: -------------------------------------------------------------------------------- 1 | package com.ssm.mapper; 2 | 3 | import com.ssm.pojo.Student; 4 | import com.ssm.pojo.StudentExample; 5 | import com.ssm.pojo.StudentKey; 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | public interface StudentMapper { 11 | long countByExample(StudentExample example); 12 | 13 | int deleteByExample(StudentExample example); 14 | 15 | int deleteByPrimaryKey(StudentKey key); 16 | 17 | int insert(Student record); 18 | 19 | int insertSelective(Student record); 20 | 21 | List selectByExample(StudentExample example); 22 | 23 | Student selectByPrimaryKey(StudentKey key); 24 | 25 | int updateByExampleSelective(@Param("record") Student record, @Param("example") StudentExample example); 26 | 27 | int updateByExample(@Param("record") Student record, @Param("example") StudentExample example); 28 | 29 | int updateByPrimaryKeySelective(Student record); 30 | 31 | int updateByPrimaryKey(Student record); 32 | } -------------------------------------------------------------------------------- /src/main/webapp/static/js/script.js: -------------------------------------------------------------------------------- 1 | function getReg() { 2 | window.location.href="getReg.action" 3 | } 4 | function getLog() { 5 | window.location.href="getLog.action" 6 | } 7 | function initTree(t) { 8 | var tree=document.getElementById(t); 9 | var lis=tree.getElementsByTagName("li"); 10 | for(var i=0;i 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/main/resources/mybatis/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/mybatis/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/pojo/Score.java: -------------------------------------------------------------------------------- 1 | package com.ssm.pojo; 2 | 3 | public class Score { 4 | private Integer id; 5 | 6 | private Integer sno; 7 | 8 | private String sclass; 9 | 10 | private String subject; 11 | 12 | private Integer score; 13 | 14 | public Integer getId() { 15 | return id; 16 | } 17 | 18 | public void setId(Integer id) { 19 | this.id = id; 20 | } 21 | 22 | public Integer getSno() { 23 | return sno; 24 | } 25 | 26 | public void setSno(Integer sno) { 27 | this.sno = sno; 28 | } 29 | 30 | public String getSclass() { 31 | return sclass; 32 | } 33 | 34 | public void setSclass(String sclass) { 35 | this.sclass = sclass == null ? null : sclass.trim(); 36 | } 37 | 38 | public String getSubject() { 39 | return subject; 40 | } 41 | 42 | public void setSubject(String subject) { 43 | this.subject = subject == null ? null : subject.trim(); 44 | } 45 | 46 | public Integer getScore() { 47 | return score; 48 | } 49 | 50 | public void setScore(Integer score) { 51 | this.score = score; 52 | } 53 | } -------------------------------------------------------------------------------- /src/main/java/test/runGeneratorMain.java: -------------------------------------------------------------------------------- 1 | package test; 2 | 3 | import org.mybatis.generator.api.MyBatisGenerator; 4 | import org.mybatis.generator.config.Configuration; 5 | import org.mybatis.generator.config.xml.ConfigurationParser; 6 | import org.mybatis.generator.internal.DefaultShellCallback; 7 | import org.mybatis.logging.Logger; 8 | import org.mybatis.logging.LoggerFactory; 9 | 10 | import java.io.File; 11 | import java.util.ArrayList; 12 | import java.util.List; 13 | 14 | 15 | public class runGeneratorMain { 16 | private static Logger logger = LoggerFactory.getLogger(runGeneratorMain.class); 17 | public static void main(String[] args) throws Exception{ 18 | List warnings = new ArrayList(); 19 | boolean overwrite = true; 20 | File configFile = new File("generatorConfig.xml"); 21 | ConfigurationParser cp = new ConfigurationParser(warnings); 22 | Configuration config = cp.parseConfiguration(configFile); 23 | DefaultShellCallback callback = new DefaultShellCallback(overwrite); 24 | MyBatisGenerator myBatisGenerator = new MyBatisGenerator(config, callback, warnings); 25 | myBatisGenerator.generate(null); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/controller/homeController.java: -------------------------------------------------------------------------------- 1 | package com.ssm.controller; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.web.bind.annotation.RequestMapping; 5 | 6 | @Controller 7 | public class homeController { 8 | 9 | @RequestMapping("getHome") 10 | public String getHome(){ 11 | return "/home/index"; 12 | } 13 | 14 | @RequestMapping("getPage1") 15 | public String getPage1(){ 16 | return "/home/page1"; 17 | } 18 | 19 | @RequestMapping("getPage2") 20 | public String getPage2(){ 21 | return "/home/page2"; 22 | } 23 | 24 | @RequestMapping("getPage3") 25 | public String getPage3(){ 26 | return "/home/page3"; 27 | } 28 | 29 | @RequestMapping("getPage4") 30 | public String getPage4(){ 31 | return "/home/page4"; 32 | } 33 | 34 | @RequestMapping("getPage5") 35 | public String getPage5(){ 36 | return "/home/page5"; 37 | } 38 | 39 | @RequestMapping("getPage6") 40 | public String getPage6(){ 41 | return "/home/page6"; 42 | } 43 | 44 | @RequestMapping("getSiteInfo") 45 | public String getSiteInfo(){ 46 | return "/home/siteInfo"; 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/home/siteInfo.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: PengChao 4 | Date: 2019/6/17 5 | Time: 9:20 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 管理界面 21 | 22 | 23 | 24 |

系统信息

25 | 26 | 27 | 31 | 32 |

操作成功!

28 |

29 | 30 |

33 | 34 | 35 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/views/home/siteInfo.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: PengChao 4 | Date: 2019/6/17 5 | Time: 9:20 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 管理界面 21 | 22 | 23 | 24 |

系统信息

25 | 26 | 27 | 31 | 32 |

操作成功!

28 |

29 | 30 |

33 | 34 | 35 | -------------------------------------------------------------------------------- /target/classes/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger = info,stdout 2 | 3 | log4j.appender.stdout = org.apache.log4j.ConsoleAppender 4 | log4j.appender.stdout.Target = System.out 5 | log4j.appender.stdout.layout = org.apache.log4j.PatternLayout 6 | log4j.appender.stdout.layout.ConversionPattern = [%-5p] %d{yyyy-MM-dd HH:mm:ss,SSS} method:%l%n%m%n 7 | 8 | log4j.appender.D = org.apache.log4j.DailyRollingFileAppender 9 | log4j.appender.D.File = D://develop/SSMExample/logs/log.log 10 | log4j.appender.D.Append = true 11 | log4j.appender.D.Threshold = DEBUG 12 | log4j.appender.D.layout = org.apache.log4j.PatternLayout 13 | log4j.appender.D.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n 14 | 15 | log4j.appender.E = org.apache.log4j.DailyRollingFileAppender 16 | log4j.appender.E.File =D://develop/SSMExample/logs/error.log 17 | log4j.appender.E.Append = true 18 | log4j.appender.E.Threshold = ERROR 19 | log4j.appender.E.layout = org.apache.log4j.PatternLayout 20 | log4j.appender.E.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n 21 | 22 | log4j.appender.I = org.apache.log4j.DailyRollingFileAppender 23 | log4j.appender.I.File =D://develop/SSMExamples/logs/info.log 24 | log4j.appender.I.Append = true 25 | log4j.appender.I.Threshold = INFO 26 | log4j.appender.I.layout = org.apache.log4j.PatternLayout 27 | log4j.appender.I.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n -------------------------------------------------------------------------------- /src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger = info,stdout 2 | 3 | log4j.appender.stdout = org.apache.log4j.ConsoleAppender 4 | log4j.appender.stdout.Target = System.out 5 | log4j.appender.stdout.layout = org.apache.log4j.PatternLayout 6 | log4j.appender.stdout.layout.ConversionPattern = [%-5p] %d{yyyy-MM-dd HH:mm:ss,SSS} method:%l%n%m%n 7 | 8 | log4j.appender.D = org.apache.log4j.DailyRollingFileAppender 9 | log4j.appender.D.File = D://develop/SSMExample/logs/log.log 10 | log4j.appender.D.Append = true 11 | log4j.appender.D.Threshold = DEBUG 12 | log4j.appender.D.layout = org.apache.log4j.PatternLayout 13 | log4j.appender.D.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n 14 | 15 | log4j.appender.E = org.apache.log4j.DailyRollingFileAppender 16 | log4j.appender.E.File =D://develop/SSMExample/logs/error.log 17 | log4j.appender.E.Append = true 18 | log4j.appender.E.Threshold = ERROR 19 | log4j.appender.E.layout = org.apache.log4j.PatternLayout 20 | log4j.appender.E.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n 21 | 22 | log4j.appender.I = org.apache.log4j.DailyRollingFileAppender 23 | log4j.appender.I.File =D://develop/SSMExamples/logs/info.log 24 | log4j.appender.I.Append = true 25 | log4j.appender.I.Threshold = INFO 26 | log4j.appender.I.layout = org.apache.log4j.PatternLayout 27 | log4j.appender.I.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger = info,stdout 2 | 3 | log4j.appender.stdout = org.apache.log4j.ConsoleAppender 4 | log4j.appender.stdout.Target = System.out 5 | log4j.appender.stdout.layout = org.apache.log4j.PatternLayout 6 | log4j.appender.stdout.layout.ConversionPattern = [%-5p] %d{yyyy-MM-dd HH:mm:ss,SSS} method:%l%n%m%n 7 | 8 | log4j.appender.D = org.apache.log4j.DailyRollingFileAppender 9 | log4j.appender.D.File = D://develop/SSMExample/logs/log.log 10 | log4j.appender.D.Append = true 11 | log4j.appender.D.Threshold = DEBUG 12 | log4j.appender.D.layout = org.apache.log4j.PatternLayout 13 | log4j.appender.D.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n 14 | 15 | log4j.appender.E = org.apache.log4j.DailyRollingFileAppender 16 | log4j.appender.E.File =D://develop/SSMExample/logs/error.log 17 | log4j.appender.E.Append = true 18 | log4j.appender.E.Threshold = ERROR 19 | log4j.appender.E.layout = org.apache.log4j.PatternLayout 20 | log4j.appender.E.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n 21 | 22 | log4j.appender.I = org.apache.log4j.DailyRollingFileAppender 23 | log4j.appender.I.File =D://develop/SSMExamples/logs/info.log 24 | log4j.appender.I.Append = true 25 | log4j.appender.I.Threshold = INFO 26 | log4j.appender.I.layout = org.apache.log4j.PatternLayout 27 | log4j.appender.I.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n -------------------------------------------------------------------------------- /target/classes/sql/User.sql: -------------------------------------------------------------------------------- 1 | /* 2 | Navicat MySQL Data Transfer 3 | 4 | Source Server : develop 5 | Source Server Type : MySQL 6 | Source Server Version : 80016 7 | Source Host : 140.143.72.57:3306 8 | Source Schema : develop 9 | 10 | Target Server Type : MySQL 11 | Target Server Version : 80016 12 | File Encoding : 65001 13 | 14 | Date: 18/06/2019 10:37:02 15 | */ 16 | 17 | SET NAMES utf8mb4; 18 | SET FOREIGN_KEY_CHECKS = 0; 19 | 20 | -- ---------------------------- 21 | -- Table structure for User 22 | -- ---------------------------- 23 | DROP TABLE IF EXISTS `User`; 24 | CREATE TABLE `User` ( 25 | `uid` int(11) NOT NULL AUTO_INCREMENT, 26 | `username` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL, 27 | `password` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL, 28 | `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '0', 29 | `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '超级管理员', 30 | PRIMARY KEY (`uid`) USING BTREE 31 | ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; 32 | 33 | -- ---------------------------- 34 | -- Records of User 35 | -- ---------------------------- 36 | INSERT INTO `User` VALUES (1, 'root', 'root', '4184090@qq.com', '超级管理员'); 37 | INSERT INTO `User` VALUES (2, 'admin', 'admin', '4184090@qq.com', '超级管理员'); 38 | 39 | SET FOREIGN_KEY_CHECKS = 1; 40 | -------------------------------------------------------------------------------- /src/main/resources/sql/User.sql: -------------------------------------------------------------------------------- 1 | /* 2 | Navicat MySQL Data Transfer 3 | 4 | Source Server : develop 5 | Source Server Type : MySQL 6 | Source Server Version : 80016 7 | Source Host : 140.143.72.57:3306 8 | Source Schema : develop 9 | 10 | Target Server Type : MySQL 11 | Target Server Version : 80016 12 | File Encoding : 65001 13 | 14 | Date: 18/06/2019 10:37:02 15 | */ 16 | 17 | SET NAMES utf8mb4; 18 | SET FOREIGN_KEY_CHECKS = 0; 19 | 20 | -- ---------------------------- 21 | -- Table structure for User 22 | -- ---------------------------- 23 | DROP TABLE IF EXISTS `User`; 24 | CREATE TABLE `User` ( 25 | `uid` int(11) NOT NULL AUTO_INCREMENT, 26 | `username` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL, 27 | `password` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL, 28 | `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '0', 29 | `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '超级管理员', 30 | PRIMARY KEY (`uid`) USING BTREE 31 | ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; 32 | 33 | -- ---------------------------- 34 | -- Records of User 35 | -- ---------------------------- 36 | INSERT INTO `User` VALUES (1, 'root', 'root', '4184090@qq.com', '超级管理员'); 37 | INSERT INTO `User` VALUES (2, 'admin', 'admin', '4184090@qq.com', '超级管理员'); 38 | 39 | SET FOREIGN_KEY_CHECKS = 1; 40 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/sql/User.sql: -------------------------------------------------------------------------------- 1 | /* 2 | Navicat MySQL Data Transfer 3 | 4 | Source Server : develop 5 | Source Server Type : MySQL 6 | Source Server Version : 80016 7 | Source Host : 140.143.72.57:3306 8 | Source Schema : develop 9 | 10 | Target Server Type : MySQL 11 | Target Server Version : 80016 12 | File Encoding : 65001 13 | 14 | Date: 18/06/2019 10:37:02 15 | */ 16 | 17 | SET NAMES utf8mb4; 18 | SET FOREIGN_KEY_CHECKS = 0; 19 | 20 | -- ---------------------------- 21 | -- Table structure for User 22 | -- ---------------------------- 23 | DROP TABLE IF EXISTS `User`; 24 | CREATE TABLE `User` ( 25 | `uid` int(11) NOT NULL AUTO_INCREMENT, 26 | `username` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL, 27 | `password` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL, 28 | `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '0', 29 | `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '超级管理员', 30 | PRIMARY KEY (`uid`) USING BTREE 31 | ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; 32 | 33 | -- ---------------------------- 34 | -- Records of User 35 | -- ---------------------------- 36 | INSERT INTO `User` VALUES (1, 'root', 'root', '4184090@qq.com', '超级管理员'); 37 | INSERT INTO `User` VALUES (2, 'admin', 'admin', '4184090@qq.com', '超级管理员'); 38 | 39 | SET FOREIGN_KEY_CHECKS = 1; 40 | -------------------------------------------------------------------------------- /target/classes/sql/Student.sql: -------------------------------------------------------------------------------- 1 | /* 2 | Navicat MySQL Data Transfer 3 | 4 | Source Server : develop 5 | Source Server Type : MySQL 6 | Source Server Version : 80016 7 | Source Host : 140.143.72.57:3306 8 | Source Schema : develop 9 | 10 | Target Server Type : MySQL 11 | Target Server Version : 80016 12 | File Encoding : 65001 13 | 14 | Date: 18/06/2019 10:36:56 15 | */ 16 | 17 | SET NAMES utf8mb4; 18 | SET FOREIGN_KEY_CHECKS = 0; 19 | 20 | -- ---------------------------- 21 | -- Table structure for Student 22 | -- ---------------------------- 23 | DROP TABLE IF EXISTS `Student`; 24 | CREATE TABLE `Student` ( 25 | `sid` int(11) NOT NULL AUTO_INCREMENT, 26 | `sname` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, 27 | `sex` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, 28 | `age` int(11) NULL DEFAULT NULL, 29 | `sno` int(11) NOT NULL, 30 | PRIMARY KEY (`sid`, `sno`) USING BTREE, 31 | INDEX `fk_sno`(`sno`) USING BTREE 32 | ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; 33 | 34 | -- ---------------------------- 35 | -- Records of Student 36 | -- ---------------------------- 37 | INSERT INTO `Student` VALUES (1, '彭超', '男', 22, 10001); 38 | INSERT INTO `Student` VALUES (2, '曹云', '男', 21, 10002); 39 | INSERT INTO `Student` VALUES (3, '任冠宇', '男', 20, 10003); 40 | INSERT INTO `Student` VALUES (4, '王凯歌', '男', 21, 10004); 41 | INSERT INTO `Student` VALUES (5, '李青伟', '男', 21, 10005); 42 | 43 | SET FOREIGN_KEY_CHECKS = 1; 44 | -------------------------------------------------------------------------------- /src/main/resources/sql/Student.sql: -------------------------------------------------------------------------------- 1 | /* 2 | Navicat MySQL Data Transfer 3 | 4 | Source Server : develop 5 | Source Server Type : MySQL 6 | Source Server Version : 80016 7 | Source Host : 140.143.72.57:3306 8 | Source Schema : develop 9 | 10 | Target Server Type : MySQL 11 | Target Server Version : 80016 12 | File Encoding : 65001 13 | 14 | Date: 18/06/2019 10:36:56 15 | */ 16 | 17 | SET NAMES utf8mb4; 18 | SET FOREIGN_KEY_CHECKS = 0; 19 | 20 | -- ---------------------------- 21 | -- Table structure for Student 22 | -- ---------------------------- 23 | DROP TABLE IF EXISTS `Student`; 24 | CREATE TABLE `Student` ( 25 | `sid` int(11) NOT NULL AUTO_INCREMENT, 26 | `sname` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, 27 | `sex` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, 28 | `age` int(11) NULL DEFAULT NULL, 29 | `sno` int(11) NOT NULL, 30 | PRIMARY KEY (`sid`, `sno`) USING BTREE, 31 | INDEX `fk_sno`(`sno`) USING BTREE 32 | ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; 33 | 34 | -- ---------------------------- 35 | -- Records of Student 36 | -- ---------------------------- 37 | INSERT INTO `Student` VALUES (1, '彭超', '男', 22, 10001); 38 | INSERT INTO `Student` VALUES (2, '曹云', '男', 21, 10002); 39 | INSERT INTO `Student` VALUES (3, '任冠宇', '男', 20, 10003); 40 | INSERT INTO `Student` VALUES (4, '王凯歌', '男', 21, 10004); 41 | INSERT INTO `Student` VALUES (5, '李青伟', '男', 21, 10005); 42 | 43 | SET FOREIGN_KEY_CHECKS = 1; 44 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/sql/Student.sql: -------------------------------------------------------------------------------- 1 | /* 2 | Navicat MySQL Data Transfer 3 | 4 | Source Server : develop 5 | Source Server Type : MySQL 6 | Source Server Version : 80016 7 | Source Host : 140.143.72.57:3306 8 | Source Schema : develop 9 | 10 | Target Server Type : MySQL 11 | Target Server Version : 80016 12 | File Encoding : 65001 13 | 14 | Date: 18/06/2019 10:36:56 15 | */ 16 | 17 | SET NAMES utf8mb4; 18 | SET FOREIGN_KEY_CHECKS = 0; 19 | 20 | -- ---------------------------- 21 | -- Table structure for Student 22 | -- ---------------------------- 23 | DROP TABLE IF EXISTS `Student`; 24 | CREATE TABLE `Student` ( 25 | `sid` int(11) NOT NULL AUTO_INCREMENT, 26 | `sname` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, 27 | `sex` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, 28 | `age` int(11) NULL DEFAULT NULL, 29 | `sno` int(11) NOT NULL, 30 | PRIMARY KEY (`sid`, `sno`) USING BTREE, 31 | INDEX `fk_sno`(`sno`) USING BTREE 32 | ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; 33 | 34 | -- ---------------------------- 35 | -- Records of Student 36 | -- ---------------------------- 37 | INSERT INTO `Student` VALUES (1, '彭超', '男', 22, 10001); 38 | INSERT INTO `Student` VALUES (2, '曹云', '男', 21, 10002); 39 | INSERT INTO `Student` VALUES (3, '任冠宇', '男', 20, 10003); 40 | INSERT INTO `Student` VALUES (4, '王凯歌', '男', 21, 10004); 41 | INSERT INTO `Student` VALUES (5, '李青伟', '男', 21, 10005); 42 | 43 | SET FOREIGN_KEY_CHECKS = 1; 44 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/pojo/User.java: -------------------------------------------------------------------------------- 1 | package com.ssm.pojo; 2 | 3 | import com.ssm.controller.validation.ValidGroupByUser; 4 | 5 | import javax.validation.constraints.NotNull; 6 | import javax.validation.constraints.Size; 7 | 8 | public class User { 9 | private Integer uid; 10 | 11 | @Size(min = 4,max = 20,message = "user.username.length.error",groups = ValidGroupByUser.class) 12 | private String username; 13 | @NotNull(message = "user.password.length.error",groups = ValidGroupByUser.class) 14 | private String password; 15 | 16 | private String email; 17 | 18 | private String type; 19 | 20 | public Integer getUid() { 21 | return uid; 22 | } 23 | 24 | public void setUid(Integer uid) { 25 | this.uid = uid; 26 | } 27 | 28 | public String getUsername() { 29 | return username; 30 | } 31 | 32 | public void setUsername(String username) { 33 | this.username = username == null ? null : username.trim(); 34 | } 35 | 36 | public String getPassword() { 37 | return password; 38 | } 39 | 40 | public void setPassword(String password) { 41 | this.password = password == null ? null : password.trim(); 42 | } 43 | 44 | public String getEmail() { 45 | return email; 46 | } 47 | 48 | public void setEmail(String email) { 49 | this.email = email == null ? null : email.trim(); 50 | } 51 | 52 | public String getType() { 53 | return type; 54 | } 55 | 56 | public void setType(String type) { 57 | this.type = type == null ? null : type.trim(); 58 | } 59 | } -------------------------------------------------------------------------------- /src/main/java/com/ssm/service/impl/StudentServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.ssm.service.impl; 2 | 3 | import com.ssm.mapper.StudentMapper; 4 | import com.ssm.pojo.Student; 5 | import com.ssm.pojo.StudentExample; 6 | import com.ssm.service.StudentService; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.stereotype.Service; 9 | 10 | import java.util.List; 11 | 12 | @Service 13 | public class StudentServiceImpl implements StudentService { 14 | 15 | @Autowired 16 | private StudentMapper studentMapper; 17 | 18 | @Override 19 | public Student insertStudent(Student student) throws Exception { 20 | int row = studentMapper.insert(student); 21 | return row > 0 ? student : null; 22 | } 23 | 24 | @Override 25 | public Student updateStudent(Student student) throws Exception { 26 | Student newStudent = selectStudent(student); 27 | if (newStudent!=null){ 28 | newStudent.setSex(student.getSex()); 29 | newStudent.setAge(student.getAge()); 30 | newStudent.setSname(student.getSname()); 31 | int row = studentMapper.updateByPrimaryKey(newStudent); 32 | return row > 0 ? newStudent : null; 33 | } 34 | return null; 35 | } 36 | 37 | @Override 38 | public Student selectStudent(Student student) throws Exception { 39 | return studentMapper.selectByPrimaryKey(student); 40 | } 41 | 42 | @Override 43 | public List selectAll(Student student) throws Exception { 44 | StudentExample studentExample = new StudentExample(); 45 | StudentExample.Criteria criteria = studentExample.createCriteria(); 46 | criteria.andSnoEqualTo(student.getSno()); 47 | return studentMapper.selectByExample(studentExample); 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/home/index.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: PengChao 4 | Date: 2019/6/17 5 | Time: 9:14 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 管理界面 21 | 22 | 23 | 24 | 25 | 26 | 27 |

学生信息及成绩管理界面

28 |
您好,管理员:  ${user.username}
29 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/views/home/index.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: PengChao 4 | Date: 2019/6/17 5 | Time: 9:14 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 管理界面 21 | 22 | 23 | 24 | 25 | 26 | 27 |

学生信息及成绩管理界面

28 |
您好,管理员:  ${user.username}
29 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/interceptor/LanguageInterceptor.java: -------------------------------------------------------------------------------- 1 | package com.ssm.interceptor; 2 | 3 | import org.springframework.web.servlet.LocaleResolver; 4 | import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; 5 | import org.springframework.web.servlet.support.RequestContextUtils; 6 | 7 | import javax.servlet.http.HttpServletRequest; 8 | import javax.servlet.http.HttpServletResponse; 9 | import java.util.Locale; 10 | 11 | public class LanguageInterceptor extends HandlerInterceptorAdapter { 12 | 13 | /** 14 | * Default name of the locale specification parameter: "locale". 15 | */ 16 | public static final String DEFAULT_PARAM_NAME = "locale"; 17 | private String paramName = DEFAULT_PARAM_NAME; 18 | 19 | public void setParamName(String paramName) { 20 | this.paramName = paramName; 21 | } 22 | public String getParamName() { 23 | return this.paramName; 24 | } 25 | 26 | @Override 27 | public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { 28 | Locale newLocale = getLocale(request.getParameter(getParamName())); 29 | LocaleResolver localeResolver = RequestContextUtils.getLocaleResolver(request); 30 | 31 | if (localeResolver == null) { 32 | throw new IllegalStateException("No LocaleResolver found: not in a DispatcherServlet request?"); 33 | } 34 | 35 | localeResolver.setLocale(request, response, newLocale); 36 | 37 | return true; 38 | } 39 | 40 | 41 | //根据language 获取Locale 42 | public static Locale getLocale(String language){ 43 | Locale locale = new Locale("zh", "CN"); 44 | if(language!=null && language.equals("en")){ 45 | locale = new Locale("en", "US"); 46 | } 47 | return locale; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/service/impl/ScoreServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.ssm.service.impl; 2 | 3 | import com.ssm.mapper.ScoreMapper; 4 | import com.ssm.pojo.Score; 5 | import com.ssm.pojo.ScoreExample; 6 | import com.ssm.service.ScoreService; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.stereotype.Service; 9 | 10 | import java.util.List; 11 | 12 | @Service 13 | public class ScoreServiceImpl implements ScoreService { 14 | 15 | @Autowired 16 | private ScoreMapper scoreMapper; 17 | 18 | @Override 19 | public Score insertScore(Score score) throws Exception { 20 | int row = scoreMapper.insert(score); 21 | return row > 0 ? score : null; 22 | } 23 | 24 | @Override 25 | public Score updateScore(Score score) throws Exception { 26 | Score newScore = selectScore(score); 27 | if (newScore!=null){ 28 | newScore.setSclass(score.getSclass()); 29 | newScore.setSubject(score.getSubject()); 30 | newScore.setScore(score.getScore()); 31 | newScore.setSno(score.getSno()); 32 | int row = scoreMapper.updateByPrimaryKey(newScore); 33 | return row > 0 ? newScore : null; 34 | } 35 | return null; 36 | } 37 | 38 | @Override 39 | public List selectAllScore(Score score) throws Exception { 40 | ScoreExample scoreExample = new ScoreExample(); 41 | ScoreExample.Criteria criteria = scoreExample.createCriteria(); 42 | criteria.andSnoEqualTo(score.getSno()); 43 | return scoreMapper.selectByExample(scoreExample); 44 | } 45 | 46 | @Override 47 | public Score selectScore(Score score) throws Exception { 48 | return scoreMapper.selectByPrimaryKey(score.getId()); 49 | } 50 | 51 | @Override 52 | public int delect(Score score) throws Exception { 53 | return scoreMapper.deleteByPrimaryKey(score.getId()); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/controller/StudentController.java: -------------------------------------------------------------------------------- 1 | package com.ssm.controller; 2 | 3 | import com.ssm.pojo.Student; 4 | import com.ssm.service.StudentService; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.stereotype.Controller; 7 | import org.springframework.ui.Model; 8 | import org.springframework.web.bind.annotation.RequestMapping; 9 | import org.springframework.web.bind.annotation.ResponseBody; 10 | import org.springframework.web.bind.annotation.SessionAttributes; 11 | 12 | import java.util.List; 13 | 14 | @Controller 15 | @SessionAttributes({"student","lists"}) 16 | public class StudentController { 17 | 18 | @Autowired 19 | private StudentService studentService; 20 | 21 | @RequestMapping("addStudent") 22 | public @ResponseBody Student addStudent(Student student, Model model){ 23 | Student newStudent = null; 24 | try { 25 | newStudent = studentService.insertStudent(student); 26 | model.addAttribute("student",newStudent); 27 | } catch (Exception e) { 28 | e.printStackTrace(); 29 | } 30 | return student; 31 | } 32 | 33 | @RequestMapping("modStudent") 34 | public @ResponseBody Student modStudent(Student student ,Model model){ 35 | Student newStudent = null; 36 | try { 37 | newStudent = studentService.updateStudent(student); 38 | model.addAttribute("student",newStudent); 39 | } catch (Exception e) { 40 | e.printStackTrace(); 41 | } 42 | return newStudent; 43 | } 44 | 45 | @RequestMapping("selStudent") 46 | public String selStudent(Student student ,Model model){ 47 | List list = null; 48 | try { 49 | list = studentService.selectAll(student); 50 | model.addAttribute("lists",list); 51 | } catch (Exception e) { 52 | e.printStackTrace(); 53 | } 54 | return "home/page3"; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/controller/ScoreController.java: -------------------------------------------------------------------------------- 1 | package com.ssm.controller; 2 | 3 | import com.ssm.pojo.Score; 4 | import com.ssm.service.ScoreService; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.stereotype.Controller; 7 | import org.springframework.ui.Model; 8 | import org.springframework.web.bind.annotation.RequestMapping; 9 | import org.springframework.web.bind.annotation.ResponseBody; 10 | import org.springframework.web.bind.annotation.SessionAttributes; 11 | 12 | import java.util.List; 13 | 14 | @Controller 15 | @SessionAttributes({"score","list"}) 16 | public class ScoreController { 17 | 18 | @Autowired 19 | private ScoreService scoreService; 20 | 21 | @RequestMapping("addScore") 22 | public @ResponseBody Score addScore(Score score , Model model){ 23 | Score newScore = null; 24 | try { 25 | newScore = scoreService.insertScore(score); 26 | model.addAttribute("score",newScore); 27 | } catch (Exception e) { 28 | e.printStackTrace(); 29 | } 30 | return newScore; 31 | } 32 | @RequestMapping("modScore") 33 | public @ResponseBody Score modScore(Score score , Model model){ 34 | Score newScore = null; 35 | try { 36 | newScore = scoreService.updateScore(score); 37 | selScore(score.getSno(),model); 38 | model.addAttribute("score",newScore); 39 | } catch (Exception e) { 40 | e.printStackTrace(); 41 | } 42 | return newScore; 43 | } 44 | 45 | @RequestMapping("selScore") 46 | public String selScore(int sno , Model model){ 47 | List list = null; 48 | Score score = new Score(); 49 | score.setSno(sno); 50 | try { 51 | list = scoreService.selectAllScore(score); 52 | model.addAttribute("list",list); 53 | } catch (Exception e) { 54 | e.printStackTrace(); 55 | } 56 | return "home/page5"; 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/mapper/StudentProMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 43 | -------------------------------------------------------------------------------- /target/classes/com/ssm/mapper/StudentProMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 43 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/com/ssm/mapper/StudentProMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 43 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/service/impl/UserServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.ssm.service.impl; 2 | 3 | import com.ssm.mapper.UserMapper; 4 | import com.ssm.pojo.User; 5 | import com.ssm.pojo.UserExample; 6 | import com.ssm.service.UserService; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.stereotype.Service; 9 | 10 | import java.util.List; 11 | 12 | @Service 13 | public class UserServiceImpl implements UserService { 14 | 15 | @Autowired 16 | private UserMapper userMapper; 17 | 18 | @Override 19 | public User login(User user) throws Exception { 20 | UserExample userExample = new UserExample(); 21 | UserExample.Criteria criteria = userExample.createCriteria(); 22 | criteria.andUsernameEqualTo(user.getUsername()); 23 | criteria.andPasswordEqualTo(user.getPassword()); 24 | List list = userMapper.selectByExample(userExample); 25 | for (User userList : list){ 26 | if (userList.getUsername().equals(user.getUsername()) && userList.getPassword().equals(user.getPassword())) 27 | return userList; 28 | } 29 | return null; 30 | } 31 | 32 | @Override 33 | public User regist(User user) throws Exception { 34 | if (!findUserByName(user)){ 35 | int rows =userMapper.insert(user); 36 | return rows > 0 ? user : null; 37 | } 38 | return null; 39 | } 40 | 41 | @Override 42 | public boolean findUserByName(User user) throws Exception { 43 | UserExample userExample = new UserExample(); 44 | UserExample.Criteria criteria = userExample.createCriteria(); 45 | criteria.andUsernameEqualTo(user.getUsername()); 46 | List list = userMapper.selectByExample(userExample); 47 | for (User userList : list){ 48 | if (userList.getUsername().equals(user.getUsername())) 49 | return true; 50 | } 51 | return false; 52 | } 53 | 54 | @Override 55 | public User update(User user) throws Exception { 56 | int rows =userMapper.updateByPrimaryKey(user); 57 | return rows > 0 ? user : null; 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /generatorConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 16 | 17 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 |
42 |
43 |
44 | 45 |
46 |
-------------------------------------------------------------------------------- /src/main/java/com/ssm/controller/StudentProController.java: -------------------------------------------------------------------------------- 1 | package com.ssm.controller; 2 | 3 | import com.ssm.pojo.Score; 4 | import com.ssm.pojo.ScorePro; 5 | import com.ssm.pojo.StudentPro; 6 | import com.ssm.service.ScoreService; 7 | import com.ssm.service.StudentProService; 8 | import org.springframework.beans.factory.annotation.Autowired; 9 | import org.springframework.stereotype.Controller; 10 | import org.springframework.ui.Model; 11 | import org.springframework.web.bind.annotation.RequestMapping; 12 | import org.springframework.web.bind.annotation.ResponseBody; 13 | import org.springframework.web.bind.annotation.SessionAttributes; 14 | 15 | import java.util.HashMap; 16 | import java.util.List; 17 | import java.util.Map; 18 | 19 | @Controller 20 | @SessionAttributes({"listAll","listAllBySub"}) 21 | public class StudentProController { 22 | 23 | @Autowired 24 | private StudentProService studentProService; 25 | @Autowired 26 | private ScoreService scoreService; 27 | 28 | @RequestMapping("select") 29 | public @ResponseBody List selectAll(Model model){ 30 | List list = null; 31 | try { 32 | list = studentProService.selectAll(); 33 | model.addAttribute("listAll",list); 34 | } catch (Exception e) { 35 | e.printStackTrace(); 36 | } 37 | return list; 38 | } 39 | 40 | @RequestMapping("delect") 41 | public @ResponseBody Map delect(Score score){ 42 | Map map = new HashMap(); 43 | try { 44 | int row = scoreService.delect(score); 45 | if (row <= 0) map.put("msg","出现异常情况,删除成绩失败!"); 46 | } catch (Exception e) { 47 | e.printStackTrace(); 48 | } 49 | return map; 50 | } 51 | 52 | @RequestMapping("selectBySubject") 53 | public @ResponseBody List selectBySubject(ScorePro scorePro, Model model){ 54 | List list = null; 55 | try { 56 | list = studentProService.selectAllBySubject(scorePro); 57 | model.addAttribute("listAllBySub",list); 58 | } catch (Exception e) { 59 | e.printStackTrace(); 60 | } 61 | return list; 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: admin 4 | Date: 2019/5/22 5 | Time: 20:51 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 主 页 | 学 生 信 息 及 成 绩 管 理 系 统 27 | 28 | 29 | 30 | 31 |
32 |
33 |
34 |
35 |

学生信息及成绩管理系统

36 |

作者 : 彭超 ( Silly )



37 |

本系统是基于SSM 框架搭建的学生信息及成绩管理内测系统,用于统计学生信息及成绩, 如:姓名,年龄,性别,学号以及各科成绩等等。

38 |

This system is based on the SSM framework for student information and performance management internal testing system, used to calculate student information and grades, such as: name, age, gender, student number and scores of various subjects.

39 |

40 | 41 | 42 |
43 |
44 |
    45 |
  • 46 |
  • 47 |
  • 48 |
  • 49 |
  • 50 |
  • 51 |
  • 52 |
  • 53 |
  • 54 |
  • 55 |
56 |
57 |
58 | 59 | 60 | -------------------------------------------------------------------------------- /target/SSMExample/index.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: admin 4 | Date: 2019/5/22 5 | Time: 20:51 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 主 页 | 学 生 信 息 及 成 绩 管 理 系 统 27 | 28 | 29 | 30 | 31 |
32 |
33 |
34 |
35 |

学生信息及成绩管理系统

36 |

作者 : 彭超 ( Silly )



37 |

本系统是基于SSM 框架搭建的学生信息及成绩管理内测系统,用于统计学生信息及成绩, 如:姓名,年龄,性别,学号以及各科成绩等等。

38 |

This system is based on the SSM framework for student information and performance management internal testing system, used to calculate student information and grades, such as: name, age, gender, student number and scores of various subjects.

39 |

40 | 41 | 42 |
43 |
44 |
    45 |
  • 46 |
  • 47 |
  • 48 |
  • 49 |
  • 50 |
  • 51 |
  • 52 |
  • 53 |
  • 54 |
  • 55 |
56 |
57 |
58 | 59 | 60 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/home/page2.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: PengChao 4 | Date: 2019/6/17 5 | Time: 9:18 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 管理界面 21 | 22 | 23 | 24 | 25 |

添加学生

26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
编号姓名性别年龄学号操作
自动     
44 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/views/home/page2.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: PengChao 4 | Date: 2019/6/17 5 | Time: 9:18 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 管理界面 21 | 22 | 23 | 24 | 25 |

添加学生

26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
编号姓名性别年龄学号操作
自动     
44 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/home/page4.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: PengChao 4 | Date: 2019/6/17 5 | Time: 9:18 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 管理界面 21 | 22 | 23 | 24 | 25 |

添加学生成绩

26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
编号学号班级科目分数操作
自动     
44 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/views/home/page4.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: PengChao 4 | Date: 2019/6/17 5 | Time: 9:18 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 管理界面 21 | 22 | 23 | 24 | 25 |

添加学生成绩

26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
编号学号班级科目分数操作
自动     
44 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 8 | 9 | SSMExample 10 | 11 | 12 | 13 | contextConfigLocation 14 | classpath:spring/applicationContext.xml 15 | 16 | 17 | org.springframework.web.context.ContextLoaderListener 18 | 19 | 20 | 21 | 22 | dispatcherServlet 23 | org.springframework.web.servlet.DispatcherServlet 24 | 25 | 26 | contextConfigLocation 27 | classpath:spring/dispatcherServlet-servlet.xml 28 | 29 | 1 30 | 31 | 32 | dispatcherServlet 33 | *.action 34 | 35 | 36 | 37 | 38 | CharacterEncodingFilter 39 | org.springframework.web.filter.CharacterEncodingFilter 40 | 41 | encoding 42 | UTF-8 43 | 44 | 45 | forceRequestEncoding 46 | true 47 | 48 | 49 | forceResponseEncoding 50 | true 51 | 52 | 53 | 54 | CharacterEncodingFilter 55 | /* 56 | 57 | 58 | 59 | 60 | HiddenHttpMethodFilter 61 | org.springframework.web.filter.HiddenHttpMethodFilter 62 | 63 | 64 | HiddenHttpMethodFilter 65 | /* 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 8 | 9 | SSMExample 10 | 11 | 12 | 13 | contextConfigLocation 14 | classpath:spring/applicationContext.xml 15 | 16 | 17 | org.springframework.web.context.ContextLoaderListener 18 | 19 | 20 | 21 | 22 | dispatcherServlet 23 | org.springframework.web.servlet.DispatcherServlet 24 | 25 | 26 | contextConfigLocation 27 | classpath:spring/dispatcherServlet-servlet.xml 28 | 29 | 1 30 | 31 | 32 | dispatcherServlet 33 | *.action 34 | 35 | 36 | 37 | 38 | CharacterEncodingFilter 39 | org.springframework.web.filter.CharacterEncodingFilter 40 | 41 | encoding 42 | UTF-8 43 | 44 | 45 | forceRequestEncoding 46 | true 47 | 48 | 49 | forceResponseEncoding 50 | true 51 | 52 | 53 | 54 | CharacterEncodingFilter 55 | /* 56 | 57 | 58 | 59 | 60 | HiddenHttpMethodFilter 61 | org.springframework.web.filter.HiddenHttpMethodFilter 62 | 63 | 64 | HiddenHttpMethodFilter 65 | /* 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/main/java/com/ssm/controller/UserController.java: -------------------------------------------------------------------------------- 1 | package com.ssm.controller; 2 | 3 | import com.ssm.controller.validation.ValidGroupByUser; 4 | import com.ssm.pojo.User; 5 | import com.ssm.service.UserService; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.stereotype.Controller; 8 | import org.springframework.ui.Model; 9 | import org.springframework.validation.BindingResult; 10 | import org.springframework.validation.ObjectError; 11 | import org.springframework.validation.annotation.Validated; 12 | import org.springframework.web.bind.annotation.*; 13 | 14 | import javax.servlet.http.HttpSession; 15 | import java.util.List; 16 | 17 | @Controller 18 | @SessionAttributes(value = {"user","objectErrors"}) 19 | public class UserController { 20 | 21 | @Autowired 22 | private UserService userService; 23 | 24 | @RequestMapping("getLogin") 25 | public @ResponseBody User login(@Validated(ValidGroupByUser.class)User user, BindingResult bindingResult, Model model){ 26 | //进行校验 27 | if (bindingResult.hasErrors()){ 28 | List objectErrors = bindingResult.getAllErrors(); 29 | model.addAttribute("objectErrors",objectErrors); 30 | } 31 | //效验通过后进行主体操作 32 | User newUser = null; 33 | try { 34 | newUser = userService.login(user); 35 | model.addAttribute("user",newUser); 36 | } catch (Exception e) { 37 | e.printStackTrace(); 38 | } 39 | return newUser; 40 | } 41 | 42 | @RequestMapping("getRegist") 43 | public @ResponseBody User regist(@Validated(ValidGroupByUser.class)User user, BindingResult bindingResult,Model model){ 44 | //进行校验 45 | if (bindingResult.hasErrors()){ 46 | List objectErrors = bindingResult.getAllErrors(); 47 | model.addAttribute("objectErrors",objectErrors); 48 | } 49 | //效验通过后进行主体操作 50 | User newUser = null; 51 | try { 52 | newUser = userService.regist(user); 53 | model.addAttribute("user",newUser); 54 | } catch (Exception e) { 55 | e.printStackTrace(); 56 | } 57 | return newUser; 58 | } 59 | 60 | @RequestMapping("modUser") 61 | public @ResponseBody User update(User user,Model model){ 62 | User newUser = null; 63 | try { 64 | newUser = userService.update(user); 65 | System.out.println(newUser.getEmail()); 66 | model.addAttribute("user",newUser); 67 | } catch (Exception e) { 68 | e.printStackTrace(); 69 | } 70 | return newUser; 71 | } 72 | 73 | @RequestMapping("getLogout") 74 | public String logout(HttpSession session){ 75 | session.invalidate(); 76 | return "login"; 77 | } 78 | 79 | } 80 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/home/page1.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: PengChao 4 | Date: 2019/6/17 5 | Time: 9:18 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 查询成绩 21 | 22 | 23 | 24 | 25 |

查询成绩

26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 |
编号姓名性别年龄学号班级科目分数操作
39 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/views/home/page1.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: PengChao 4 | Date: 2019/6/17 5 | Time: 9:18 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 查询成绩 21 | 22 | 23 | 24 | 25 |

查询成绩

26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 |
编号姓名性别年龄学号班级科目分数操作
39 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/home/page6.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: PengChao 4 | Date: 2019/6/17 5 | Time: 9:18 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 管理界面 21 | 22 | 23 | 24 | 25 |

管理员信息修改

26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 |
编号:
帐号:
密码:
邮箱:
身份:
46 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/views/home/page6.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: PengChao 4 | Date: 2019/6/17 5 | Time: 9:18 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 管理界面 21 | 22 | 23 | 24 | 25 |

管理员信息修改

26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 |
编号:
帐号:
密码:
邮箱:
身份:
46 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/regist.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: admin 4 | Date: 2019/5/22 5 | Time: 20:51 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 注 册 | 个 人 信 息 管 理 系 统 27 | 28 | 29 | 30 | 31 |
32 |
33 |
34 |
35 |

学生信息及成绩管理系统

36 |

作者 : 彭超 ( Silly )



37 |

管 理 员 账 号

38 |

管 理 员 密 码

39 | 40 |
41 |
42 |
    43 |
  • 44 |
  • 45 |
  • 46 |
  • 47 |
  • 48 |
  • 49 |
  • 50 |
  • 51 |
  • 52 |
  • 53 |
54 |
55 |
56 | 57 | 77 | 78 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/views/regist.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: admin 4 | Date: 2019/5/22 5 | Time: 20:51 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 注 册 | 个 人 信 息 管 理 系 统 27 | 28 | 29 | 30 | 31 |
32 |
33 |
34 |
35 |

学生信息及成绩管理系统

36 |

作者 : 彭超 ( Silly )



37 |

管 理 员 账 号

38 |

管 理 员 密 码

39 | 40 |
41 |
42 |
    43 |
  • 44 |
  • 45 |
  • 46 |
  • 47 |
  • 48 |
  • 49 |
  • 50 |
  • 51 |
  • 52 |
  • 53 |
54 |
55 |
56 | 57 | 77 | 78 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/home/page3.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: PengChao 4 | Date: 2019/6/17 5 | Time: 9:18 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 管理界面 21 | 22 | 23 | 24 | 25 |

修改学生信息

26 |
27 | <%-- 编号:--%> 28 | <%-- and --%> 29 | 学号: 30 | 31 | 32 |
33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 |
编号姓名性别年龄学号操作
${stu.sid}     
53 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/views/home/page3.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: PengChao 4 | Date: 2019/6/17 5 | Time: 9:18 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 管理界面 21 | 22 | 23 | 24 | 25 |

修改学生信息

26 |
27 | <%-- 编号:--%> 28 | <%-- and --%> 29 | 学号: 30 | 31 | 32 |
33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 |
编号姓名性别年龄学号操作
${stu.sid}     
53 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /src/main/resources/sql/Score.sql: -------------------------------------------------------------------------------- 1 | /* 2 | Navicat MySQL Data Transfer 3 | 4 | Source Server : develop 5 | Source Server Type : MySQL 6 | Source Server Version : 80016 7 | Source Host : 140.143.72.57:3306 8 | Source Schema : develop 9 | 10 | Target Server Type : MySQL 11 | Target Server Version : 80016 12 | File Encoding : 65001 13 | 14 | Date: 18/06/2019 10:36:49 15 | */ 16 | 17 | SET NAMES utf8mb4; 18 | SET FOREIGN_KEY_CHECKS = 0; 19 | 20 | -- ---------------------------- 21 | -- Table structure for Score 22 | -- ---------------------------- 23 | DROP TABLE IF EXISTS `Score`; 24 | CREATE TABLE `Score` ( 25 | `id` int(11) NOT NULL AUTO_INCREMENT, 26 | `sno` int(11) NOT NULL, 27 | `sclass` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, 28 | `subject` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, 29 | `score` int(255) NULL DEFAULT NULL, 30 | PRIMARY KEY (`id`) USING BTREE, 31 | INDEX `sno`(`sno`) USING BTREE, 32 | CONSTRAINT `fk_sno` FOREIGN KEY (`sno`) REFERENCES `Student` (`sno`) ON DELETE RESTRICT ON UPDATE RESTRICT 33 | ) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; 34 | 35 | -- ---------------------------- 36 | -- Records of Score 37 | -- ---------------------------- 38 | INSERT INTO `Score` VALUES (1, 10001, '计算机应用技术17-4', 'Java', 100); 39 | INSERT INTO `Score` VALUES (2, 10001, '计算机应用技术17-4', 'Web', 100); 40 | INSERT INTO `Score` VALUES (3, 10002, '计算机应用技术17-4', 'Java', 100); 41 | INSERT INTO `Score` VALUES (4, 10002, '计算机应用技术17-4', 'Web', 100); 42 | INSERT INTO `Score` VALUES (5, 10003, '计算机应用技术17-4', 'Java', 100); 43 | INSERT INTO `Score` VALUES (6, 10003, '计算机应用技术17-4', 'Web', 100); 44 | INSERT INTO `Score` VALUES (7, 10004, '计算机应用技术17-4', 'Java', 100); 45 | INSERT INTO `Score` VALUES (8, 10004, '计算机应用技术17-4', 'Web', 100); 46 | INSERT INTO `Score` VALUES (9, 10005, '计算机应用技术17-4', 'Java', 100); 47 | INSERT INTO `Score` VALUES (10, 10005, '计算机应用技术17-4', 'Web', 100); 48 | INSERT INTO `Score` VALUES (11, 10001, '计算机应用技术17-4', 'Oracle', 100); 49 | INSERT INTO `Score` VALUES (12, 10002, '计算机应用技术17-4', 'Oracle', 100); 50 | INSERT INTO `Score` VALUES (13, 10003, '计算机应用技术17-4', 'Oracle', 100); 51 | INSERT INTO `Score` VALUES (14, 10004, '计算机应用技术17-4', 'Oracle', 100); 52 | INSERT INTO `Score` VALUES (15, 10005, '计算机应用技术17-4', 'Oracle', 100); 53 | INSERT INTO `Score` VALUES (16, 10001, '计算机应用技术17-4', 'Android', 100); 54 | INSERT INTO `Score` VALUES (17, 10002, '计算机应用技术17-4', 'Android', 100); 55 | INSERT INTO `Score` VALUES (18, 10003, '计算机应用技术17-4', 'Android', 100); 56 | INSERT INTO `Score` VALUES (19, 10004, '计算机应用技术17-4', 'Android', 100); 57 | INSERT INTO `Score` VALUES (20, 10005, '计算机应用技术17-4', 'Android', 100); 58 | INSERT INTO `Score` VALUES (21, 10001, '计算机应用技术17-4', 'Mysql', 100); 59 | INSERT INTO `Score` VALUES (22, 10002, '计算机应用技术17-4', 'Mysql', 100); 60 | INSERT INTO `Score` VALUES (23, 10003, '计算机应用技术17-4', 'Mysql', 100); 61 | INSERT INTO `Score` VALUES (24, 10004, '计算机应用技术17-4', 'Mysql', 100); 62 | INSERT INTO `Score` VALUES (25, 10005, '计算机应用技术17-4', 'Mysql', 100); 63 | 64 | SET FOREIGN_KEY_CHECKS = 1; 65 | -------------------------------------------------------------------------------- /target/classes/sql/Score.sql: -------------------------------------------------------------------------------- 1 | /* 2 | Navicat MySQL Data Transfer 3 | 4 | Source Server : develop 5 | Source Server Type : MySQL 6 | Source Server Version : 80016 7 | Source Host : 140.143.72.57:3306 8 | Source Schema : develop 9 | 10 | Target Server Type : MySQL 11 | Target Server Version : 80016 12 | File Encoding : 65001 13 | 14 | Date: 18/06/2019 10:36:49 15 | */ 16 | 17 | SET NAMES utf8mb4; 18 | SET FOREIGN_KEY_CHECKS = 0; 19 | 20 | -- ---------------------------- 21 | -- Table structure for Score 22 | -- ---------------------------- 23 | DROP TABLE IF EXISTS `Score`; 24 | CREATE TABLE `Score` ( 25 | `id` int(11) NOT NULL AUTO_INCREMENT, 26 | `sno` int(11) NOT NULL, 27 | `sclass` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, 28 | `subject` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, 29 | `score` int(255) NULL DEFAULT NULL, 30 | PRIMARY KEY (`id`) USING BTREE, 31 | INDEX `sno`(`sno`) USING BTREE, 32 | CONSTRAINT `fk_sno` FOREIGN KEY (`sno`) REFERENCES `Student` (`sno`) ON DELETE RESTRICT ON UPDATE RESTRICT 33 | ) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; 34 | 35 | -- ---------------------------- 36 | -- Records of Score 37 | -- ---------------------------- 38 | INSERT INTO `Score` VALUES (1, 10001, '计算机应用技术17-4', 'Java', 100); 39 | INSERT INTO `Score` VALUES (2, 10001, '计算机应用技术17-4', 'Web', 100); 40 | INSERT INTO `Score` VALUES (3, 10002, '计算机应用技术17-4', 'Java', 100); 41 | INSERT INTO `Score` VALUES (4, 10002, '计算机应用技术17-4', 'Web', 100); 42 | INSERT INTO `Score` VALUES (5, 10003, '计算机应用技术17-4', 'Java', 100); 43 | INSERT INTO `Score` VALUES (6, 10003, '计算机应用技术17-4', 'Web', 100); 44 | INSERT INTO `Score` VALUES (7, 10004, '计算机应用技术17-4', 'Java', 100); 45 | INSERT INTO `Score` VALUES (8, 10004, '计算机应用技术17-4', 'Web', 100); 46 | INSERT INTO `Score` VALUES (9, 10005, '计算机应用技术17-4', 'Java', 100); 47 | INSERT INTO `Score` VALUES (10, 10005, '计算机应用技术17-4', 'Web', 100); 48 | INSERT INTO `Score` VALUES (11, 10001, '计算机应用技术17-4', 'Oracle', 100); 49 | INSERT INTO `Score` VALUES (12, 10002, '计算机应用技术17-4', 'Oracle', 100); 50 | INSERT INTO `Score` VALUES (13, 10003, '计算机应用技术17-4', 'Oracle', 100); 51 | INSERT INTO `Score` VALUES (14, 10004, '计算机应用技术17-4', 'Oracle', 100); 52 | INSERT INTO `Score` VALUES (15, 10005, '计算机应用技术17-4', 'Oracle', 100); 53 | INSERT INTO `Score` VALUES (16, 10001, '计算机应用技术17-4', 'Android', 100); 54 | INSERT INTO `Score` VALUES (17, 10002, '计算机应用技术17-4', 'Android', 100); 55 | INSERT INTO `Score` VALUES (18, 10003, '计算机应用技术17-4', 'Android', 100); 56 | INSERT INTO `Score` VALUES (19, 10004, '计算机应用技术17-4', 'Android', 100); 57 | INSERT INTO `Score` VALUES (20, 10005, '计算机应用技术17-4', 'Android', 100); 58 | INSERT INTO `Score` VALUES (21, 10001, '计算机应用技术17-4', 'Mysql', 100); 59 | INSERT INTO `Score` VALUES (22, 10002, '计算机应用技术17-4', 'Mysql', 100); 60 | INSERT INTO `Score` VALUES (23, 10003, '计算机应用技术17-4', 'Mysql', 100); 61 | INSERT INTO `Score` VALUES (24, 10004, '计算机应用技术17-4', 'Mysql', 100); 62 | INSERT INTO `Score` VALUES (25, 10005, '计算机应用技术17-4', 'Mysql', 100); 63 | 64 | SET FOREIGN_KEY_CHECKS = 1; 65 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/sql/Score.sql: -------------------------------------------------------------------------------- 1 | /* 2 | Navicat MySQL Data Transfer 3 | 4 | Source Server : develop 5 | Source Server Type : MySQL 6 | Source Server Version : 80016 7 | Source Host : 140.143.72.57:3306 8 | Source Schema : develop 9 | 10 | Target Server Type : MySQL 11 | Target Server Version : 80016 12 | File Encoding : 65001 13 | 14 | Date: 18/06/2019 10:36:49 15 | */ 16 | 17 | SET NAMES utf8mb4; 18 | SET FOREIGN_KEY_CHECKS = 0; 19 | 20 | -- ---------------------------- 21 | -- Table structure for Score 22 | -- ---------------------------- 23 | DROP TABLE IF EXISTS `Score`; 24 | CREATE TABLE `Score` ( 25 | `id` int(11) NOT NULL AUTO_INCREMENT, 26 | `sno` int(11) NOT NULL, 27 | `sclass` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, 28 | `subject` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL, 29 | `score` int(255) NULL DEFAULT NULL, 30 | PRIMARY KEY (`id`) USING BTREE, 31 | INDEX `sno`(`sno`) USING BTREE, 32 | CONSTRAINT `fk_sno` FOREIGN KEY (`sno`) REFERENCES `Student` (`sno`) ON DELETE RESTRICT ON UPDATE RESTRICT 33 | ) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; 34 | 35 | -- ---------------------------- 36 | -- Records of Score 37 | -- ---------------------------- 38 | INSERT INTO `Score` VALUES (1, 10001, '计算机应用技术17-4', 'Java', 100); 39 | INSERT INTO `Score` VALUES (2, 10001, '计算机应用技术17-4', 'Web', 100); 40 | INSERT INTO `Score` VALUES (3, 10002, '计算机应用技术17-4', 'Java', 100); 41 | INSERT INTO `Score` VALUES (4, 10002, '计算机应用技术17-4', 'Web', 100); 42 | INSERT INTO `Score` VALUES (5, 10003, '计算机应用技术17-4', 'Java', 100); 43 | INSERT INTO `Score` VALUES (6, 10003, '计算机应用技术17-4', 'Web', 100); 44 | INSERT INTO `Score` VALUES (7, 10004, '计算机应用技术17-4', 'Java', 100); 45 | INSERT INTO `Score` VALUES (8, 10004, '计算机应用技术17-4', 'Web', 100); 46 | INSERT INTO `Score` VALUES (9, 10005, '计算机应用技术17-4', 'Java', 100); 47 | INSERT INTO `Score` VALUES (10, 10005, '计算机应用技术17-4', 'Web', 100); 48 | INSERT INTO `Score` VALUES (11, 10001, '计算机应用技术17-4', 'Oracle', 100); 49 | INSERT INTO `Score` VALUES (12, 10002, '计算机应用技术17-4', 'Oracle', 100); 50 | INSERT INTO `Score` VALUES (13, 10003, '计算机应用技术17-4', 'Oracle', 100); 51 | INSERT INTO `Score` VALUES (14, 10004, '计算机应用技术17-4', 'Oracle', 100); 52 | INSERT INTO `Score` VALUES (15, 10005, '计算机应用技术17-4', 'Oracle', 100); 53 | INSERT INTO `Score` VALUES (16, 10001, '计算机应用技术17-4', 'Android', 100); 54 | INSERT INTO `Score` VALUES (17, 10002, '计算机应用技术17-4', 'Android', 100); 55 | INSERT INTO `Score` VALUES (18, 10003, '计算机应用技术17-4', 'Android', 100); 56 | INSERT INTO `Score` VALUES (19, 10004, '计算机应用技术17-4', 'Android', 100); 57 | INSERT INTO `Score` VALUES (20, 10005, '计算机应用技术17-4', 'Android', 100); 58 | INSERT INTO `Score` VALUES (21, 10001, '计算机应用技术17-4', 'Mysql', 100); 59 | INSERT INTO `Score` VALUES (22, 10002, '计算机应用技术17-4', 'Mysql', 100); 60 | INSERT INTO `Score` VALUES (23, 10003, '计算机应用技术17-4', 'Mysql', 100); 61 | INSERT INTO `Score` VALUES (24, 10004, '计算机应用技术17-4', 'Mysql', 100); 62 | INSERT INTO `Score` VALUES (25, 10005, '计算机应用技术17-4', 'Mysql', 100); 63 | 64 | SET FOREIGN_KEY_CHECKS = 1; 65 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/login.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: admin 4 | Date: 2019/5/22 5 | Time: 20:51 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 登 录 | 个 人 信 息 管 理 系 统 27 | 28 | 29 | 33 | 34 | 35 |
36 |
37 |
38 |
39 |

学生信息及成绩管理系统

40 |

作者 : 彭超 ( Silly )



41 |

管 理 员 账 号

42 |

管 理 员 密 码

43 | 44 |
45 |
46 |
    47 |
  • 48 |
  • 49 |
  • 50 |
  • 51 |
  • 52 |
  • 53 |
  • 54 |
  • 55 |
  • 56 |
  • 57 |
58 |
59 |
60 | 61 | 81 | 82 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/views/login.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: admin 4 | Date: 2019/5/22 5 | Time: 20:51 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 登 录 | 个 人 信 息 管 理 系 统 27 | 28 | 29 | 33 | 34 | 35 |
36 |
37 |
38 |
39 |

学生信息及成绩管理系统

40 |

作者 : 彭超 ( Silly )



41 |

管 理 员 账 号

42 |

管 理 员 密 码

43 | 44 |
45 |
46 |
    47 |
  • 48 |
  • 49 |
  • 50 |
  • 51 |
  • 52 |
  • 53 |
  • 54 |
  • 55 |
  • 56 |
  • 57 |
58 |
59 |
60 | 61 | 81 | 82 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/home/page5.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: PengChao 4 | Date: 2019/6/17 5 | Time: 9:18 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 管理界面 21 | 22 | 23 | 24 | 25 |

修改学生信息

26 |
27 | 学号: 28 | 29 | 30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 |
编号学号班级科目分数操作
 "> "> "> "> 
51 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/views/home/page5.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: PengChao 4 | Date: 2019/6/17 5 | Time: 9:18 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 10 | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 11 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 12 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %> 13 | <% 14 | String path = request.getContextPath(); 15 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 16 | %> 17 | 18 | 19 | 20 | 管理界面 21 | 22 | 23 | 24 | 25 |

修改学生信息

26 |
27 | 学号: 28 | 29 | 30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 |
编号学号班级科目分数操作
 "> "> "> "> 
51 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /target/classes/spring/applicationContext.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /src/main/resources/spring/applicationContext.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /target/SSMExample/WEB-INF/classes/spring/applicationContext.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /src/main/webapp/static/css/home_style.css: -------------------------------------------------------------------------------- 1 | /* CSS Document by Shaorui */ 2 | * { 3 | margin:0; 4 | padding:0; 5 | } 6 | html { 7 | width:100%; 8 | height:100%; 9 | overflow-x:hidden; 10 | } 11 | body { 12 | height:100%; 13 | margin:0; 14 | padding:0; 15 | font-size:10pt; 16 | background:#F1F1F1; 17 | color:#333; 18 | overflow:auto; 19 | overflow-x:hidden; 20 | } 21 | body#login { 22 | background:#0065AF; 23 | } 24 | body#page { 25 | padding:20px; 26 | height:auto; 27 | border-top:60px solid #0065AF; 28 | } 29 | a { 30 | color:#0D324F; 31 | } 32 | input { 33 | font-size:24px; 34 | background:#F4F4F4; 35 | border:1px solid #A5ACB2; 36 | height:30px; 37 | overflow:hidden; 38 | } 39 | input.bt { 40 | height:40px; 41 | padding:4px; 42 | border:3px double #CCC; 43 | border-right-color:#999; 44 | border-bottom-color:#999; 45 | background:url(http://www.richbox.net/blog/wp-admin/images/fade-butt.png) #EEE repeat-x left top; 46 | } 47 | input.checkbox { 48 | border:none; 49 | height:auto; 50 | } 51 | textarea,select { 52 | background:#F4F4F4; 53 | border:1px solid #A5ACB2; 54 | } 55 | table { 56 | margin:8px auto; 57 | border-collapse:collapse; 58 | } 59 | th,td { 60 | padding:6px; 61 | vertical-align:middle; 62 | border:1px dotted #DDD; 63 | border-collapse:collapse; 64 | } 65 | th { 66 | background:#DFDFDF; 67 | } 68 | td { 69 | background:#F1F1F1; 70 | } 71 | h1 { 72 | position:absolute; 73 | width:100%; 74 | height:33px; 75 | overflow:hidden; 76 | padding:25px 0 0 20px; 77 | color:#FFF; 78 | font-size:12pt; 79 | top:0; 80 | left:0; 81 | background:#0065AF; 82 | border-bottom:3px solid #FFF; 83 | } 84 | h2 { 85 | background:url(../images/h2Bg.gif) repeat-x top left; 86 | font-size:12px; 87 | padding:8px; 88 | color:#333; 89 | } 90 | p { 91 | margin:10px auto; 92 | } 93 | /**/ 94 | #loginForm { 95 | width:400px; 96 | height:300px; 97 | position:absolute; 98 | top:50%; 99 | left:50%; 100 | margin:-150px 0 0 -200px; 101 | background:#FFF; 102 | border:3px solid #999; 103 | } 104 | #loginForm h3 { 105 | background:#000; 106 | color:#FFF; 107 | margin:0 0 30px 0; 108 | padding:14px 0 8px 20px; 109 | } 110 | #loginForm label { 111 | display:block; 112 | padding:12px 40px; 113 | } 114 | #loginForm label span { 115 | display:block; 116 | position:absolute; 117 | padding:8px 0 0 0; 118 | } 119 | #loginForm label input { 120 | width:200px; 121 | margin:0 0 0 70px; 122 | } 123 | #loginForm label#submit { 124 | padding-left:110px; 125 | } 126 | #loginForm label input.bt { 127 | width:80px; 128 | margin:0; 129 | } 130 | #registerForm { 131 | width:800px; 132 | margin:0 auto; 133 | } 134 | #siteCopyRight { 135 | display:block; 136 | position:absolute; 137 | width:200px; 138 | top:50%; 139 | left:50%; 140 | margin:160px 0 0 -100px; 141 | text-align:center; 142 | color:#999; 143 | } 144 | #globalNav { 145 | position:absolute; 146 | top:32px; 147 | right:0; 148 | } 149 | #globalNav li { 150 | display:inline; 151 | } 152 | #globalNav li a{ 153 | display:block; 154 | width:92px; 155 | height:21px; 156 | padding:8px 0 0 0; 157 | background:url(../images/menuBg2.gif) no-repeat center top; 158 | color:#FFF; 159 | font-weight:bold; 160 | text-decoration:none; 161 | text-align:center; 162 | float:right; 163 | } 164 | #globalNav li a:hover,#globalNav li.select a{ 165 | background-image:url(../images/menuBg1.gif); 166 | color:#000; 167 | } 168 | #userInfo { 169 | width:100%; 170 | position:absolute; 171 | top:10px; 172 | right:20px; 173 | text-align:right; 174 | color:#FFF; 175 | } 176 | #searchForm { 177 | background:url(../images/searchBg.gif) #FFFFCC no-repeat right center; 178 | border:1px dotted #CCC; 179 | margin:8px; 180 | padding:8px; 181 | } 182 | #searchForm input { 183 | height:20px; 184 | font-size:12px; 185 | padding:0; 186 | } 187 | #pageFlip { 188 | margin:3px auto; 189 | padding:6px; 190 | text-align:center; 191 | background:#EFEFEF; 192 | font-weight:bold; 193 | float:none; 194 | clear:both; 195 | } 196 | /**/ 197 | .blockList li { 198 | list-style:none; 199 | display:inline; 200 | } 201 | .blockList li a { 202 | display:block; 203 | width:200px; 204 | border:1px solid #CCC; 205 | background:#EFEFEF; 206 | margin:10px; 207 | padding:18px; 208 | float:left; 209 | text-align:center; 210 | } 211 | .blockList li a:hover { 212 | background:#CCC; 213 | } -------------------------------------------------------------------------------- /target/SSMExample/static/css/home_style.css: -------------------------------------------------------------------------------- 1 | /* CSS Document by Shaorui */ 2 | * { 3 | margin:0; 4 | padding:0; 5 | } 6 | html { 7 | width:100%; 8 | height:100%; 9 | overflow-x:hidden; 10 | } 11 | body { 12 | height:100%; 13 | margin:0; 14 | padding:0; 15 | font-size:10pt; 16 | background:#F1F1F1; 17 | color:#333; 18 | overflow:auto; 19 | overflow-x:hidden; 20 | } 21 | body#login { 22 | background:#0065AF; 23 | } 24 | body#page { 25 | padding:20px; 26 | height:auto; 27 | border-top:60px solid #0065AF; 28 | } 29 | a { 30 | color:#0D324F; 31 | } 32 | input { 33 | font-size:24px; 34 | background:#F4F4F4; 35 | border:1px solid #A5ACB2; 36 | height:30px; 37 | overflow:hidden; 38 | } 39 | input.bt { 40 | height:40px; 41 | padding:4px; 42 | border:3px double #CCC; 43 | border-right-color:#999; 44 | border-bottom-color:#999; 45 | background:url(http://www.richbox.net/blog/wp-admin/images/fade-butt.png) #EEE repeat-x left top; 46 | } 47 | input.checkbox { 48 | border:none; 49 | height:auto; 50 | } 51 | textarea,select { 52 | background:#F4F4F4; 53 | border:1px solid #A5ACB2; 54 | } 55 | table { 56 | margin:8px auto; 57 | border-collapse:collapse; 58 | } 59 | th,td { 60 | padding:6px; 61 | vertical-align:middle; 62 | border:1px dotted #DDD; 63 | border-collapse:collapse; 64 | } 65 | th { 66 | background:#DFDFDF; 67 | } 68 | td { 69 | background:#F1F1F1; 70 | } 71 | h1 { 72 | position:absolute; 73 | width:100%; 74 | height:33px; 75 | overflow:hidden; 76 | padding:25px 0 0 20px; 77 | color:#FFF; 78 | font-size:12pt; 79 | top:0; 80 | left:0; 81 | background:#0065AF; 82 | border-bottom:3px solid #FFF; 83 | } 84 | h2 { 85 | background:url(../images/h2Bg.gif) repeat-x top left; 86 | font-size:12px; 87 | padding:8px; 88 | color:#333; 89 | } 90 | p { 91 | margin:10px auto; 92 | } 93 | /**/ 94 | #loginForm { 95 | width:400px; 96 | height:300px; 97 | position:absolute; 98 | top:50%; 99 | left:50%; 100 | margin:-150px 0 0 -200px; 101 | background:#FFF; 102 | border:3px solid #999; 103 | } 104 | #loginForm h3 { 105 | background:#000; 106 | color:#FFF; 107 | margin:0 0 30px 0; 108 | padding:14px 0 8px 20px; 109 | } 110 | #loginForm label { 111 | display:block; 112 | padding:12px 40px; 113 | } 114 | #loginForm label span { 115 | display:block; 116 | position:absolute; 117 | padding:8px 0 0 0; 118 | } 119 | #loginForm label input { 120 | width:200px; 121 | margin:0 0 0 70px; 122 | } 123 | #loginForm label#submit { 124 | padding-left:110px; 125 | } 126 | #loginForm label input.bt { 127 | width:80px; 128 | margin:0; 129 | } 130 | #registerForm { 131 | width:800px; 132 | margin:0 auto; 133 | } 134 | #siteCopyRight { 135 | display:block; 136 | position:absolute; 137 | width:200px; 138 | top:50%; 139 | left:50%; 140 | margin:160px 0 0 -100px; 141 | text-align:center; 142 | color:#999; 143 | } 144 | #globalNav { 145 | position:absolute; 146 | top:32px; 147 | right:0; 148 | } 149 | #globalNav li { 150 | display:inline; 151 | } 152 | #globalNav li a{ 153 | display:block; 154 | width:92px; 155 | height:21px; 156 | padding:8px 0 0 0; 157 | background:url(../images/menuBg2.gif) no-repeat center top; 158 | color:#FFF; 159 | font-weight:bold; 160 | text-decoration:none; 161 | text-align:center; 162 | float:right; 163 | } 164 | #globalNav li a:hover,#globalNav li.select a{ 165 | background-image:url(../images/menuBg1.gif); 166 | color:#000; 167 | } 168 | #userInfo { 169 | width:100%; 170 | position:absolute; 171 | top:10px; 172 | right:20px; 173 | text-align:right; 174 | color:#FFF; 175 | } 176 | #searchForm { 177 | background:url(../images/searchBg.gif) #FFFFCC no-repeat right center; 178 | border:1px dotted #CCC; 179 | margin:8px; 180 | padding:8px; 181 | } 182 | #searchForm input { 183 | height:20px; 184 | font-size:12px; 185 | padding:0; 186 | } 187 | #pageFlip { 188 | margin:3px auto; 189 | padding:6px; 190 | text-align:center; 191 | background:#EFEFEF; 192 | font-weight:bold; 193 | float:none; 194 | clear:both; 195 | } 196 | /**/ 197 | .blockList li { 198 | list-style:none; 199 | display:inline; 200 | } 201 | .blockList li a { 202 | display:block; 203 | width:200px; 204 | border:1px solid #CCC; 205 | background:#EFEFEF; 206 | margin:10px; 207 | padding:18px; 208 | float:left; 209 | text-align:center; 210 | } 211 | .blockList li a:hover { 212 | background:#CCC; 213 | } --------------------------------------------------------------------------------