├── README.md └── SelectionCourseSystem ├── .classpath ├── .project ├── .settings ├── .jsdtscope ├── org.eclipse.jdt.core.prefs ├── org.eclipse.wst.common.component ├── org.eclipse.wst.common.project.facet.core.xml ├── org.eclipse.wst.jsdt.ui.superType.container └── org.eclipse.wst.jsdt.ui.superType.name ├── WebRoot ├── META-INF │ └── MANIFEST.MF ├── WEB-INF │ ├── classes │ │ ├── applicationContext.xml │ │ ├── database.properties │ │ ├── edson │ │ │ ├── bean │ │ │ │ ├── Admin.class │ │ │ │ ├── Admin.hbm.xml │ │ │ │ ├── Course.class │ │ │ │ ├── Course.hbm.xml │ │ │ │ ├── Student.class │ │ │ │ ├── Student.hbm.xml │ │ │ │ ├── Teacher.class │ │ │ │ └── Teacher.hbm.xml │ │ │ ├── business │ │ │ │ └── serviceImpl │ │ │ │ │ ├── AdminService.class │ │ │ │ │ ├── AdminServiceInter.class │ │ │ │ │ ├── StuService.class │ │ │ │ │ └── TeaService.class │ │ │ ├── database │ │ │ │ └── daoImpl │ │ │ │ │ ├── AdminDao$1.class │ │ │ │ │ ├── AdminDao$2.class │ │ │ │ │ ├── AdminDao$3.class │ │ │ │ │ ├── AdminDao.class │ │ │ │ │ ├── AdminDaoInter.class │ │ │ │ │ ├── StuDao$1.class │ │ │ │ │ ├── StuDao.class │ │ │ │ │ ├── TeaDao$1.class │ │ │ │ │ └── TeaDao.class │ │ │ ├── test │ │ │ │ └── test_spring.class │ │ │ ├── utils │ │ │ │ ├── CheckSessionInterceptor.class │ │ │ │ ├── MD5.class │ │ │ │ ├── MyInterceptor.class │ │ │ │ └── PageBean.class │ │ │ └── web │ │ │ │ ├── AdminAction.class │ │ │ │ ├── AdminCourseAction.class │ │ │ │ ├── AdminSelectionAction.class │ │ │ │ ├── AdminTeaAction.class │ │ │ │ ├── StuAction.class │ │ │ │ └── TeaAction.class │ │ └── struts.xml │ ├── lib │ │ ├── antlr-2.7.7.jar │ │ ├── aopalliance-1.0-sources.jar │ │ ├── asm-5.2.jar │ │ ├── asm-commons-5.2.jar │ │ ├── asm-tree-5.2.jar │ │ ├── byte-buddy-1.9.5.jar │ │ ├── c3p0-0.9.5.2.jar │ │ ├── classmate-1.3.4.jar │ │ ├── classworlds-1.1.jar │ │ ├── com.springsource.util.common_2.0.0.RELEASE.jar │ │ ├── commons-beanutils-1.9.2.jar │ │ ├── commons-collections-3.2.2.jar │ │ ├── commons-digester-2.1.jar │ │ ├── commons-fileupload-1.3.3.jar │ │ ├── commons-io-2.5.jar │ │ ├── commons-lang-2.4.jar │ │ ├── commons-lang3-3.6.jar │ │ ├── commons-logging-1.1.3.jar │ │ ├── dom4j-2.1.1.jar │ │ ├── freemarker-2.3.26-incubating.jar │ │ ├── hibernate-c3p0-5.4.0.Final.jar │ │ ├── hibernate-commons-annotations-5.1.0.Final.jar │ │ ├── hibernate-core-5.4.0.Final.jar │ │ ├── javassist-3.20.0-GA.jar │ │ ├── javassist-3.24.0-GA.jar │ │ ├── javax.activation-api-1.2.0.jar │ │ ├── javax.activation_1.1.0.v201211130549.jar │ │ ├── javax.persistence-api-2.2.jar │ │ ├── javax.validation.source_1.0.0.GA_v201205091237.jar │ │ ├── javax.validation_1.0.0.GA_v201205091237.jar │ │ ├── jboss-logging-3.3.2.Final.jar │ │ ├── jboss-transaction-api_1.2_spec-1.1.1.Final.jar │ │ ├── log4j-api-2.10.0.jar │ │ ├── mchange-commons-java-0.2.11.jar │ │ ├── mysql-connector-java-8.0.12.jar │ │ ├── ognl-3.1.15.jar │ │ ├── org.aopalliance_1.0.0.v201105210816.jar │ │ ├── org.apache.commons.compress_1.15.0.v20180119-1613.jar │ │ ├── org.apache.log4j_1.2.15.v201012070815.jar │ │ ├── org.aspectj.ajde_1.9.2.201811011643.jar │ │ ├── org.aspectj.runtime.source_1.9.2.201811011643.jar │ │ ├── org.aspectj.runtime_1.9.2.201811011643.jar │ │ ├── org.aspectj.weaver_1.9.2.201811011643.jar │ │ ├── org.slf4j.api_1.7.2.v20121108-1250.jar │ │ ├── org.slf4j.impl.log4j12_1.7.2.v20131105-2200.jar │ │ ├── org.springframework.aop_4.3.15.20180306-CI.jar │ │ ├── org.springframework.beans_4.3.15.20180306-CI.jar │ │ ├── org.springframework.context.support_4.3.15.20180306-CI.jar │ │ ├── org.springframework.context_4.3.15.20180306-CI.jar │ │ ├── org.springframework.core_4.3.15.20180306-CI.jar │ │ ├── org.springframework.data.core_1.11.4.20160223-RELEASE.jar │ │ ├── org.springframework.expression_4.3.15.20180306-CI.jar │ │ ├── org.springframework.jdbc_4.3.15.20180306-CI.jar │ │ ├── org.springframework.jms_4.3.15.20180306-CI.jar │ │ ├── org.springframework.orm_4.3.15.20180306-CI.jar │ │ ├── org.springframework.oxm_4.3.15.20180306-CI.jar │ │ ├── org.springframework.transaction_4.3.15.20180306-CI.jar │ │ ├── org.springframework.web.servlet_4.3.15.20180306-CI.jar │ │ ├── org.springframework.web_4.3.15.20180306-CI.jar │ │ ├── slf4j-api-1.7.12.jar │ │ ├── spring-aop-4.3.13.RELEASE.jar │ │ ├── spring-beans-4.3.13.RELEASE.jar │ │ ├── spring-context-4.3.13.RELEASE.jar │ │ ├── spring-core-4.3.13.RELEASE.jar │ │ ├── spring-expression-4.3.13.RELEASE.jar │ │ ├── spring-test-4.3.13.RELEASE.jar │ │ ├── spring-tx-3.2.13.RELEASE.jar │ │ ├── stax-ex-1.8.jar │ │ ├── struts2-bean-validation-plugin-2.5.18.jar │ │ ├── struts2-convention-plugin-2.5.18.jar │ │ ├── struts2-core-2.5.18.jar │ │ ├── struts2-javatemplates-plugin-2.5.18.jar │ │ ├── struts2-json-plugin-2.5.18.jar │ │ ├── struts2-junit-plugin-2.5.18.jar │ │ ├── struts2-spring-plugin-2.5.18.jar │ │ ├── validation-api-1.1.0.Final.jar │ │ ├── velocity-1.7.jar │ │ └── xstream-1.4.10.jar │ └── web.xml ├── index.jsp ├── jsp │ ├── admin │ │ ├── course_add.jsp │ │ ├── course_search.jsp │ │ ├── main.jsp │ │ ├── selection_add.jsp │ │ ├── selection_decide.jsp │ │ ├── selection_search.jsp │ │ ├── stu_add.jsp │ │ ├── stu_search.jsp │ │ ├── tea_add.jsp │ │ ├── tea_search.jsp │ │ └── updatePwd.jsp │ ├── css │ │ ├── admin.css │ │ ├── stu.css │ │ ├── style.css │ │ └── tea.css │ ├── error │ │ ├── error.jsp │ │ ├── message.jsp │ │ └── wrong.jsp │ ├── images │ │ ├── admin.jpg │ │ ├── arrow.jpg │ │ ├── arrow.png │ │ ├── arrow1.jpg │ │ ├── bg2.jpg │ │ ├── character_bg.jpg │ │ ├── character_bg2.jpg │ │ ├── display_bg.jpg │ │ ├── display_bg2.jpg │ │ ├── header.jpg │ │ ├── header1.jpg │ │ ├── header2.jpg │ │ ├── header3.jpg │ │ ├── header4.jpg │ │ ├── icons.png │ │ ├── images │ │ │ ├── admin_01.jpg │ │ │ ├── admin_02.jpg │ │ │ ├── admin_03.jpg │ │ │ ├── stu_bg_01.jpg │ │ │ ├── stu_bg_02.jpg │ │ │ ├── stu_bg_03.jpg │ │ │ ├── tea_01.jpg │ │ │ ├── tea_02.jpg │ │ │ └── tea_03.jpg │ │ ├── into.png │ │ ├── login_bg.jpg │ │ ├── login_bg2.jpg │ │ ├── login_form.jpg │ │ ├── menu_bg.jpg │ │ ├── stu.jpg │ │ ├── stu_bg.jpg │ │ ├── tag.jpg │ │ ├── tea.jpg │ │ ├── ul_bg.jpg │ │ └── 登录页面示范.jpg │ ├── js │ │ ├── All.js │ │ ├── dtree.css │ │ ├── dtree.js │ │ ├── img │ │ │ ├── base.gif │ │ │ ├── cd.gif │ │ │ ├── empty.gif │ │ │ ├── folder.gif │ │ │ ├── folderopen.gif │ │ │ ├── globe.gif │ │ │ ├── imgfolder.gif │ │ │ ├── join.gif │ │ │ ├── joinbottom.gif │ │ │ ├── line.gif │ │ │ ├── minus.gif │ │ │ ├── minusbottom.gif │ │ │ ├── musicfolder.gif │ │ │ ├── nolines_minus.gif │ │ │ ├── nolines_plus.gif │ │ │ ├── page.gif │ │ │ ├── plus.gif │ │ │ ├── plusbottom.gif │ │ │ ├── question.gif │ │ │ └── trash.gif │ │ ├── jquery-3.3.1.min.js │ │ └── laydate │ │ │ ├── laydate.js │ │ │ └── theme │ │ │ └── default │ │ │ ├── font │ │ │ ├── iconfont.eot │ │ │ ├── iconfont.svg │ │ │ ├── iconfont.ttf │ │ │ └── iconfont.woff │ │ │ └── laydate.css │ ├── student │ │ ├── main.jsp │ │ ├── stu_course.jsp │ │ ├── stu_selection.jsp │ │ └── updatePwd.jsp │ └── teacher │ │ ├── main.jsp │ │ ├── mycourse.jsp │ │ ├── myselection.jsp │ │ ├── stu_select_search.jsp │ │ └── updatePwd.jsp └── reference.txt └── src ├── applicationContext.xml ├── database.properties ├── edson ├── bean │ ├── Admin.hbm.xml │ ├── Admin.java │ ├── Course.hbm.xml │ ├── Course.java │ ├── Student.hbm.xml │ ├── Student.java │ ├── Teacher.hbm.xml │ └── Teacher.java ├── business │ └── serviceImpl │ │ ├── AdminService.java │ │ ├── AdminServiceInter.java │ │ ├── StuService.java │ │ └── TeaService.java ├── database │ └── daoImpl │ │ ├── AdminDao.java │ │ ├── AdminDaoInter.java │ │ ├── StuDao.java │ │ └── TeaDao.java ├── test │ └── test_spring.java ├── utils │ ├── CheckSessionInterceptor.java │ ├── MD5.java │ ├── MyInterceptor.java │ └── PageBean.java └── web │ ├── AdminAction.java │ ├── AdminCourseAction.java │ ├── AdminSelectionAction.java │ ├── AdminTeaAction.java │ ├── StuAction.java │ └── TeaAction.java └── struts.xml /README.md: -------------------------------------------------------------------------------- 1 | # SelectionCourseSystem 2 | 该项目是我的本科毕业设计,一个基于B/S结构的学生在线选课系统网站;Java语言实现,采用SSH框架和Mysql5数据库。 3 | -------------------------------------------------------------------------------- /SelectionCourseSystem/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /SelectionCourseSystem/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | SelectionCourseSystem 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.wst.common.project.facet.core.builder 15 | 16 | 17 | 18 | 19 | org.eclipse.wst.validation.validationbuilder 20 | 21 | 22 | 23 | 24 | com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.jem.workbench.JavaEMFNature 31 | org.eclipse.wst.common.modulecore.ModuleCoreNature 32 | org.eclipse.wst.common.project.facet.core.nature 33 | org.eclipse.jdt.core.javanature 34 | org.eclipse.wst.jsdt.core.jsNature 35 | 36 | 37 | -------------------------------------------------------------------------------- /SelectionCourseSystem/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /SelectionCourseSystem/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 4 | org.eclipse.jdt.core.compiler.compliance=1.7 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.source=1.7 8 | -------------------------------------------------------------------------------- /SelectionCourseSystem/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /SelectionCourseSystem/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /SelectionCourseSystem/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /SelectionCourseSystem/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/applicationContext.xml: -------------------------------------------------------------------------------- 1 | 2 | 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 | true 58 | 59 | true 60 | 61 | org.hibernate.dialect.MySQL5InnoDBDialect 62 | 63 | 64 | 65 | update 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | edson/bean/Admin.hbm.xml 77 | edson/bean/Student.hbm.xml 78 | edson/bean/Teacher.hbm.xml 79 | edson/bean/Course.hbm.xml 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/database.properties: -------------------------------------------------------------------------------- 1 | 2 | jdbc.driver=com.mysql.jdbc.Driver 3 | 4 | jdbc.url=jdbc\:mysql\://localhost\:3308/selection_course_data?useUnicode\=true&characterEncoding\=utf8&&serverTimezone\=GMT 5 | 6 | jdbc.username=root 7 | 8 | jdbc.password=147258369 9 | 10 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/bean/Admin.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/bean/Admin.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/bean/Admin.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/bean/Course.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/bean/Course.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/bean/Course.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/bean/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/bean/Student.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/bean/Student.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/bean/Teacher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/bean/Teacher.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/bean/Teacher.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/business/serviceImpl/AdminService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/business/serviceImpl/AdminService.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/business/serviceImpl/AdminServiceInter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/business/serviceImpl/AdminServiceInter.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/business/serviceImpl/StuService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/business/serviceImpl/StuService.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/business/serviceImpl/TeaService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/business/serviceImpl/TeaService.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/AdminDao$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/AdminDao$1.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/AdminDao$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/AdminDao$2.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/AdminDao$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/AdminDao$3.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/AdminDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/AdminDao.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/AdminDaoInter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/AdminDaoInter.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/StuDao$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/StuDao$1.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/StuDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/StuDao.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/TeaDao$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/TeaDao$1.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/TeaDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/database/daoImpl/TeaDao.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/test/test_spring.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/test/test_spring.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/utils/CheckSessionInterceptor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/utils/CheckSessionInterceptor.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/utils/MD5.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/utils/MD5.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/utils/MyInterceptor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/utils/MyInterceptor.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/utils/PageBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/utils/PageBean.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/web/AdminAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/web/AdminAction.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/web/AdminCourseAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/web/AdminCourseAction.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/web/AdminSelectionAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/web/AdminSelectionAction.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/web/AdminTeaAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/web/AdminTeaAction.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/web/StuAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/web/StuAction.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/web/TeaAction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/classes/edson/web/TeaAction.class -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/antlr-2.7.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/antlr-2.7.7.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/aopalliance-1.0-sources.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/aopalliance-1.0-sources.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/asm-5.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/asm-5.2.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/asm-commons-5.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/asm-commons-5.2.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/asm-tree-5.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/asm-tree-5.2.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/byte-buddy-1.9.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/byte-buddy-1.9.5.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/c3p0-0.9.5.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/c3p0-0.9.5.2.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/classmate-1.3.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/classmate-1.3.4.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/classworlds-1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/classworlds-1.1.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/com.springsource.util.common_2.0.0.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/com.springsource.util.common_2.0.0.RELEASE.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/commons-beanutils-1.9.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/commons-beanutils-1.9.2.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/commons-collections-3.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/commons-collections-3.2.2.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/commons-digester-2.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/commons-digester-2.1.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/commons-io-2.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/commons-io-2.5.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/commons-lang-2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/commons-lang-2.4.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/commons-lang3-3.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/commons-lang3-3.6.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/commons-logging-1.1.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/commons-logging-1.1.3.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/dom4j-2.1.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/dom4j-2.1.1.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/freemarker-2.3.26-incubating.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/freemarker-2.3.26-incubating.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/hibernate-c3p0-5.4.0.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/hibernate-c3p0-5.4.0.Final.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/hibernate-commons-annotations-5.1.0.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/hibernate-commons-annotations-5.1.0.Final.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/hibernate-core-5.4.0.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/hibernate-core-5.4.0.Final.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/javassist-3.20.0-GA.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/javassist-3.20.0-GA.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/javassist-3.24.0-GA.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/javassist-3.24.0-GA.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/javax.activation-api-1.2.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/javax.activation-api-1.2.0.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/javax.activation_1.1.0.v201211130549.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/javax.activation_1.1.0.v201211130549.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/javax.persistence-api-2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/javax.persistence-api-2.2.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/javax.validation.source_1.0.0.GA_v201205091237.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/javax.validation.source_1.0.0.GA_v201205091237.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/javax.validation_1.0.0.GA_v201205091237.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/javax.validation_1.0.0.GA_v201205091237.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/jboss-logging-3.3.2.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/jboss-logging-3.3.2.Final.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/jboss-transaction-api_1.2_spec-1.1.1.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/jboss-transaction-api_1.2_spec-1.1.1.Final.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/log4j-api-2.10.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/log4j-api-2.10.0.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/mchange-commons-java-0.2.11.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/mchange-commons-java-0.2.11.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/mysql-connector-java-8.0.12.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/mysql-connector-java-8.0.12.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/ognl-3.1.15.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/ognl-3.1.15.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.aopalliance_1.0.0.v201105210816.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.aopalliance_1.0.0.v201105210816.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.apache.commons.compress_1.15.0.v20180119-1613.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.apache.commons.compress_1.15.0.v20180119-1613.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.apache.log4j_1.2.15.v201012070815.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.apache.log4j_1.2.15.v201012070815.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.aspectj.ajde_1.9.2.201811011643.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.aspectj.ajde_1.9.2.201811011643.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.aspectj.runtime.source_1.9.2.201811011643.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.aspectj.runtime.source_1.9.2.201811011643.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.aspectj.runtime_1.9.2.201811011643.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.aspectj.runtime_1.9.2.201811011643.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.aspectj.weaver_1.9.2.201811011643.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.aspectj.weaver_1.9.2.201811011643.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.slf4j.api_1.7.2.v20121108-1250.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.slf4j.api_1.7.2.v20121108-1250.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.slf4j.impl.log4j12_1.7.2.v20131105-2200.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.slf4j.impl.log4j12_1.7.2.v20131105-2200.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.aop_4.3.15.20180306-CI.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.aop_4.3.15.20180306-CI.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.beans_4.3.15.20180306-CI.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.beans_4.3.15.20180306-CI.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.context.support_4.3.15.20180306-CI.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.context.support_4.3.15.20180306-CI.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.context_4.3.15.20180306-CI.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.context_4.3.15.20180306-CI.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.core_4.3.15.20180306-CI.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.core_4.3.15.20180306-CI.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.data.core_1.11.4.20160223-RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.data.core_1.11.4.20160223-RELEASE.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.expression_4.3.15.20180306-CI.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.expression_4.3.15.20180306-CI.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.jdbc_4.3.15.20180306-CI.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.jdbc_4.3.15.20180306-CI.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.jms_4.3.15.20180306-CI.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.jms_4.3.15.20180306-CI.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.orm_4.3.15.20180306-CI.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.orm_4.3.15.20180306-CI.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.oxm_4.3.15.20180306-CI.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.oxm_4.3.15.20180306-CI.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.transaction_4.3.15.20180306-CI.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.transaction_4.3.15.20180306-CI.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.web.servlet_4.3.15.20180306-CI.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.web.servlet_4.3.15.20180306-CI.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.web_4.3.15.20180306-CI.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/org.springframework.web_4.3.15.20180306-CI.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/slf4j-api-1.7.12.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/slf4j-api-1.7.12.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/spring-aop-4.3.13.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/spring-aop-4.3.13.RELEASE.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/spring-beans-4.3.13.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/spring-beans-4.3.13.RELEASE.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/spring-context-4.3.13.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/spring-context-4.3.13.RELEASE.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/spring-core-4.3.13.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/spring-core-4.3.13.RELEASE.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/spring-expression-4.3.13.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/spring-expression-4.3.13.RELEASE.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/spring-test-4.3.13.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/spring-test-4.3.13.RELEASE.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/spring-tx-3.2.13.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/spring-tx-3.2.13.RELEASE.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/stax-ex-1.8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/stax-ex-1.8.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/struts2-bean-validation-plugin-2.5.18.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/struts2-bean-validation-plugin-2.5.18.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/struts2-convention-plugin-2.5.18.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/struts2-convention-plugin-2.5.18.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/struts2-core-2.5.18.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/struts2-core-2.5.18.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/struts2-javatemplates-plugin-2.5.18.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/struts2-javatemplates-plugin-2.5.18.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/struts2-json-plugin-2.5.18.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/struts2-json-plugin-2.5.18.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/struts2-junit-plugin-2.5.18.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/struts2-junit-plugin-2.5.18.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/struts2-spring-plugin-2.5.18.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/struts2-spring-plugin-2.5.18.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/validation-api-1.1.0.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/validation-api-1.1.0.Final.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/velocity-1.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/velocity-1.7.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/lib/xstream-1.4.10.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/WEB-INF/lib/xstream-1.4.10.jar -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | SelectionCourseSystem 4 | 5 | index.jsp 6 | 7 | 8 | 9 | 10 | 11 | org.springframework.web.context.ContextLoaderListener 12 | 13 | 14 | contextConfigLocation 15 | classpath:applicationContext.xml 16 | 17 | 18 | 19 | struts2 20 | 21 | org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter 22 | 23 | 24 | 25 | 26 | struts2 27 | /* 28 | 29 | 30 | OpenSessionInViewFilter 31 | org.springframework.orm.hibernate5.support.OpenSessionInViewFilter 32 | 33 | flushMode 34 | AUTO 35 | 36 | 37 | 38 | OpenSessionInViewFilter 39 | /* 40 | 41 | 42 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/index.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | <% 5 | String path = request.getContextPath(); 6 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 7 | %> 8 | 9 | 10 | 11 | 12 | 欢迎登录选课系统 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 26 | 27 | 28 | 29 |
30 | 31 |
32 |
33 |
34 |
35 | 欢迎登录***大学选课系统 36 |
37 |
38 | 39 |
40 |
41 |
42 | 84 | 85 |
86 | 87 | 88 |
89 | 90 | 96 | 97 |
98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/admin/course_add.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 18 | 19 | 20 | 21 |
22 | 23 |
24 |
25 | 26 |
28 | 29 | 30 | 31 | 32 | 35 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 50 | 53 | 54 | 55 | 56 | 57 | 60 | 68 | 69 | 70 | 73 | 76 | 77 | 78 | 79 | 80 | 81 | 84 | 92 | 93 | 94 |
33 | 编号: 34 | 36 | 37 | *
48 | 课程名称: 49 | 51 | 52 | *
58 | 授课教师 59 | 61 | 66 | 67 |
71 | 学分 72 | 74 | 75 | *
82 | 83 | 85 | 86 | 87 | 88 | 89 | 90 | 91 |
95 | 96 | 97 |
98 | 99 |
100 | 101 | 102 |
103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/admin/course_search.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 32 |
33 |
34 |
35 | 36 | 数据库暂无该对象数据 37 | 38 | 39 | 40 | 43 | 44 | 47 | 50 | 53 | 54 | 57 | 58 | 59 | 60 | 63 | 66 | 67 | 70 | 73 | 76 | 79 | 80 | 81 |
41 | 编号 42 | 45 | 课程名称 46 | 48 | 授课教师 49 | 51 | 学分 52 | 55 | 操作 56 |
61 | 62 | 64 | 65 | 68 | 69 | 71 | 72 | 74 | 75 | 77 | 78 |
82 |
83 |
84 | 85 |
86 |
87 |
88 | 89 | 90 | 94 | 95 | 101 | 102 | 103 | 104 | 107 | 108 | 109 | 112 | 113 | 114 | 115 |
91 | 当前页码: 92 | 总记录:条 93 | 96 | 97 |     /   98 | 99 | 100 | 105 | 106 | 110 | 111 |
116 |
117 |
118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/admin/main.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | <% 5 | String path = request.getContextPath(); 6 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 7 | %> 8 | 9 | 10 | 11 | 12 | 13 | 14 | 后台管理 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 |
27 |
28 | 欢迎登录选课系统后台管理 29 |
30 |
31 | 用户名:${admin_user.admin_name }     32 | 33 |
34 |
35 | 36 | 45 | 46 | 47 |
48 |
49 | 50 |
51 |
52 | 53 |
54 | 55 |
56 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/admin/selection_decide.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 36 | 37 | 38 | 39 |
40 |
41 |
42 |
43 | 44 | 45 | 48 | 51 | 52 | 55 | 58 | 59 | 60 |
46 | 选课开始时间: 47 | 49 | 50 | 53 | 选课结束时间: 54 | 56 | 57 |
61 |
62 | 可选课程: 63 | 数据库暂无可选课程,请添加! 64 | 65 | 66 | 67 | 70 | 73 | 76 | 79 | 82 | 83 | 84 | 85 | 88 | 91 | 94 | 97 | 100 | 101 | 102 |
68 | 编号 69 | 71 | 课程名称 72 | 74 | 授课教师 75 | 77 | 学分 78 | 80 | 可容纳学生的数量 81 |
86 | 87 | 89 | 90 | 92 | 93 | 95 | 96 | 98 | 99 |
103 |
104 |
105 |
106 |
107 |
108 | 109 | 110 | 111 | 115 | 116 | 122 | 123 | 124 | 125 | 128 | 129 | 130 | 133 | 134 | 135 | 138 | 141 | 142 | 143 |
112 | 当前页码: 113 | 总记录:条 114 | 117 | 118 |     /   119 | 120 | 121 | 126 | 127 | 131 | 132 | 136 | 137 | 139 | 140 |
144 | 145 |
146 |
147 | 148 | 149 | 150 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/admin/selection_search.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | 18 | 22 | 23 | 24 | 25 |
26 |
27 |
28 | 数据库暂无可选课程,请添加! 29 | 30 | 31 | 32 | 35 | 38 | 41 | 44 | 47 | 50 | 53 | 54 | 55 | 56 | 59 | 62 | 65 | 69 | 72 | 75 | 78 | 81 | 82 | 83 |
33 | 课程编号 34 | 36 | 课程名称 37 | 39 | 授课教师 40 | 42 | 已选该课的学生数量 43 | 45 | 可容纳学生的数量 46 | 48 | 学分 49 | 51 | 操作 52 |
57 | 58 | 60 | 61 | 63 | 64 | 66 | 67 | 68 | 70 | 71 | 73 | 74 | 76 | 77 | 79 | 80 |
84 |
85 |
86 | 87 |
88 |
89 |
90 | 91 | 92 | 96 | 97 | 103 | 104 | 105 | 106 | 109 | 110 | 111 | 114 | 115 | 116 | 117 |
93 | 当前页码: 94 | 总记录:条 95 | 98 | 99 |     /   100 | 101 | 102 | 107 | 108 | 112 | 113 |
118 |
119 |
120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/admin/stu_add.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 25 | 26 | 27 | 28 | 29 | 30 | 34 | 35 | 36 | 37 |
38 | 39 |
40 |
41 | 42 |
44 | 45 | 46 | 47 | 48 | 51 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 67 | 71 | 72 | 73 | 74 | 77 | 83 | 84 | 85 | 86 | 89 | 93 | 94 | 95 | 96 | 99 | 102 | 103 | 104 | 105 | 106 | 107 | 110 | 118 | 119 | 120 |
49 | 学号: 50 | 52 | 53 | 54 | *
65 | 姓名: 66 | 68 | 69 | 70 | *
75 | 性别: 76 | 78 | 82 |
87 | 登录密码: 88 | 90 | 91 | 92 | *
97 | 出生年月: 98 | 100 | 101 |
108 | 109 | 111 | 112 | 113 | 114 | 115 | 116 | 117 |
121 | 122 | 123 |
124 | 125 |
126 | 127 | 128 |
129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/admin/stu_search.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 32 |
33 |
34 |
35 | 36 | 数据库暂无该对象数据 37 | 38 | 39 | 40 | 43 | 44 | 47 | 50 | 53 | 56 | 59 | 60 | 61 | 62 | 65 | 68 | 72 | 75 | 78 | 81 | 84 | 85 | 86 |
41 | 学号 42 | 45 | 姓名 46 | 48 | 性别 49 | 51 | 登录密码 52 | 54 | 出生年月 55 | 57 | 操作 58 |
63 | 64 | 66 | 67 | 69 | 70 | 71 | 73 | 74 | 76 | 77 | 79 | 80 | 82 | 83 |
87 |
88 |
89 | 90 |
91 |
92 |
93 | 94 | 95 | 96 | 100 | 101 | 107 | 108 | 109 | 110 | 113 | 114 | 115 | 118 | 119 | 120 | 121 |
97 | 当前页码: 98 | 总记录:条 99 | 102 | 103 |     /   104 | 105 | 106 | 111 | 112 | 116 | 117 |
122 |
123 |
124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/admin/tea_add.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 18 | 19 | 20 | 21 | 22 | 23 | 27 | 28 | 29 | 30 |
31 | 32 |
33 |
34 | 35 |
37 | 38 | 39 | 40 | 41 | 44 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 60 | 64 | 65 | 66 | 67 | 70 | 76 | 77 | 78 | 79 | 82 | 86 | 87 | 88 | 89 | 92 | 95 | 96 | 97 | 98 | 99 | 100 | 103 | 111 | 112 | 113 |
42 | 工号: 43 | 45 | 46 | 47 | *
58 | 姓名: 59 | 61 | 62 | 63 | *
68 | 性别: 69 | 71 | 75 |
80 | 登录密码: 81 | 83 | 84 | 85 | *
90 | 出生年月: 91 | 93 | 94 |
101 | 102 | 104 | 105 | 106 | 107 | 108 | 109 | 110 |
114 | 115 | 116 |
117 | 118 |
119 | 120 | 121 |
122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/admin/tea_search.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 32 |
33 |
34 |
35 | 36 | 数据库暂无该对象数据 37 | 38 | 39 | 40 | 43 | 44 | 47 | 50 | 53 | 56 | 59 | 60 | 61 | 62 | 65 | 68 | 72 | 75 | 78 | 81 | 84 | 85 | 86 |
41 | 工号 42 | 45 | 姓名 46 | 48 | 性别 49 | 51 | 登录密码 52 | 54 | 出生年月 55 | 57 | 操作 58 |
63 | 64 | 66 | 67 | 69 | 70 | 71 | 73 | 74 | 76 | 77 | 79 | 80 | 82 | 83 |
87 |
88 |
89 | 90 |
91 |
92 |
93 | 94 | 95 | 99 | 100 | 106 | 107 | 108 | 109 | 112 | 113 | 114 | 117 | 118 | 119 | 120 |
96 | 当前页码: 97 | 总记录:条 98 | 101 | 102 |     /   103 | 104 | 105 | 110 | 111 | 115 | 116 |
121 |
122 |
123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/admin/updatePwd.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 18 | 19 | 20 | 21 |
22 | 23 |
24 |
25 | 26 |
27 | 28 | 29 | 32 | 35 | 38 | 39 | 40 | 41 | 44 | 47 | 50 | 51 | 52 | 55 | 58 | 59 |
30 | 新密码: 31 | 33 | 34 | 36 | * 37 |
42 | 再次确认新密码: 43 | 45 | 46 | 48 | * 49 |
53 | 54 | 56 | 57 |
60 | 61 | 62 |
63 | 64 |
65 | 66 | 67 |
68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/css/admin.css: -------------------------------------------------------------------------------- 1 | html,body,div,span,iframe,h1,h2,h3,a{ 2 | margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline; 3 | } 4 | 5 | 6 | /*管理员页面*/ 7 | div.header{ 8 | width:100%; 9 | height: 15%; 10 | background-image: url("../images/images/admin_01.jpg"); 11 | background-repeat: no-repeat; 12 | 13 | } 14 | 15 | div.login_user{ 16 | font-weight: bold; 17 | font-variant: 1px; 18 | margin-right: 40px; 19 | margin-top: 70px; 20 | float: right; 21 | z-index: 2; 22 | 23 | } 24 | 25 | div.character_bg{ 26 | width: 500px; 27 | height: 50px; 28 | font-size:30px; 29 | float: left; 30 | margin-top: 20px; 31 | margin-left: 10px; 32 | background-image: url(../images/character_bg2.jpg); 33 | background-repeat:no-repeat; 34 | background-position: center center; 35 | background-size: cover; 36 | background-attachment: fixed; 37 | opacity: 0.2; 38 | z-index: 1 39 | 40 | 41 | 42 | 43 | } 44 | 45 | div.character{ 46 | 47 | font-size:30px; 48 | float: left; 49 | margin-top: 20px; 50 | margin-left: 40px; 51 | position: absolute; 52 | z-index: 2; 53 | 54 | } 55 | 56 | div.menu{ 57 | width: 20%; 58 | height: 85%; 59 | float: left; 60 | text-align: left; 61 | font-size: 10px; 62 | background-image: url("../images/images/admin_02.jpg"); 63 | background-repeat: no-repeat; 64 | 65 | } 66 | 67 | div.menu_bottom{ 68 | 69 | width: 265px; 70 | height: 530px; 71 | float: left; 72 | 73 | background-repeat: no-repeat; 74 | 75 | z-index: 2; 76 | border-right: 7px groove; 77 | border-top: 7px groove; 78 | 79 | border-left: : 7px groove; 80 | 81 | border-color: blue; 82 | 83 | 84 | } 85 | 86 | div.menu_container{ 87 | 88 | width: 200px; 89 | height: 350px; 90 | float: left; 91 | 92 | z-index: 3; 93 | position: absolute; 94 | 95 | 96 | } 97 | 98 | div.dtree{ 99 | 100 | margin-top: 30px; 101 | margin-left: 30px; 102 | font-size: 15px; 103 | } 104 | 105 | div.display_iframe{ 106 | width: 80%; 107 | height: 85%; 108 | float: left; 109 | background-repeat: no-repeat; 110 | background-image: url("../images/images/admin_03.jpg"); 111 | 112 | 113 | 114 | } 115 | 116 | div.iframe_bottom{ 117 | 118 | width: 1090px; 119 | height: 80%; 120 | 121 | 122 | 123 | float: left; 124 | z-index: 1; 125 | position: absolute; 126 | border-top : 7px groove blue; 127 | 128 | 129 | } 130 | 131 | div.iframe{ 132 | width: 80%; 133 | height: 80%; 134 | 135 | float: left; 136 | z-index: 2; 137 | position: absolute; 138 | margin-top: 10px; 139 | 140 | } 141 | 142 | /*************************学生添加页面***/ 143 | 144 | 145 | div.table_container{ 146 | margin-top: 120px; 147 | margin-left: 450px; 148 | float: left; 149 | position: absolute; 150 | z-index: 2; 151 | 152 | } 153 | 154 | div.table_bottom{ 155 | width: 800px; 156 | height: 400px; 157 | 158 | float: left; 159 | margin-left: 170px; 160 | margin-top: 60px; 161 | z-index: 1; 162 | background-color: black; 163 | background-repeat: no-repeat; 164 | opacity: 0.4; 165 | border-bottom: 7px groove white; 166 | border-top: 7px groove white; 167 | border-left: 7px groove white; 168 | border-right: 7px groove white; 169 | 170 | } 171 | 172 | /********学生修改页面****/ 173 | 174 | div.search{ 175 | width: 100%; 176 | height: 15%; 177 | } 178 | 179 | div.update_container{ 180 | float: right; 181 | margin-top: 10px; 182 | } 183 | 184 | div.display_all{ 185 | width: 100%; 186 | height: 70%; 187 | float: left; 188 | z-index: 1; 189 | border-top: 4px inset; 190 | 191 | } 192 | 193 | div.display_container{ 194 | 195 | float: right; 196 | margin-left: 300px; 197 | z-index: 3; 198 | position: absolute; 199 | 200 | 201 | } 202 | 203 | div.display_table_bottom{ 204 | width: 70%; 205 | height: 70%; 206 | float: right; 207 | margin-left: 150px; 208 | z-index: 2; 209 | position: absolute; 210 | 211 | 212 | background-color: black; 213 | opacity: 0.2; 214 | } 215 | 216 | div.pagenum{ 217 | border-top: 4px inset; 218 | width: 100%; 219 | height: 16%; 220 | float: left; 221 | z-index: 1; 222 | 223 | } 224 | 225 | div.page_container{ 226 | 227 | float: left; 228 | margin-left: 700px; 229 | z-index: 2; 230 | position: absolute; 231 | 232 | } 233 | 234 | /*选课页面********************************/ 235 | div.select_container{ 236 | height: 84%; 237 | float: left; 238 | 239 | margin-left: 200px; 240 | 241 | } 242 | 243 | div.select_bottom{ 244 | width: 700px; 245 | height: 425px; 246 | float: left; 247 | z-index: 1; 248 | position: absolute; 249 | background-color: black; 250 | opacity: 0.2; 251 | } 252 | 253 | div.select_table_container{ 254 | width: 700px; 255 | height: 425px; 256 | float: left; 257 | z-index: 3; 258 | position: absolute; 259 | 260 | 261 | } 262 | 263 | div.display_select{ 264 | width: 100%; 265 | height: 86%; 266 | float: left; 267 | 268 | } 269 | 270 | div.display_select_bottom{ 271 | width: 70%; 272 | height: 86%; 273 | float: left; 274 | margin-left: 200px; 275 | z-index: 2; 276 | position: absolute; 277 | background-color: black; 278 | opacity: 0.2; 279 | } 280 | 281 | div.display_select_container{ 282 | width: 70%; 283 | height: 86%; 284 | float: left; 285 | margin-left: 220px; 286 | z-index: 3; 287 | position: absolute; 288 | 289 | 290 | } -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/css/stu.css: -------------------------------------------------------------------------------- 1 | html,body,div,span,iframe,h1,h2,h3,a{ 2 | margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline; 3 | } 4 | ol,ul{ 5 | margin:0;padding:0; 6 | } 7 | 8 | a:link {color: black;text-decoration: none} 9 | a:visited {color: black;text-decoration: none} 10 | a:hover {color: blue;text-decoration: underline} 11 | a:active {color: red} 12 | 13 | 14 | ul 15 | { 16 | font-size: 20px; 17 | font-weight: bold; 18 | list-style-image:url("../images/arrow.png"); 19 | list-style-type:square; 20 | } 21 | 22 | /*教师界面管理*/ 23 | div.header{ 24 | width:100%; 25 | height: 15%; 26 | background-image: url("../images/images/stu_bg_01.jpg"); 27 | background-repeat: no-repeat; 28 | 29 | } 30 | 31 | div.login_user{ 32 | font-weight: bold; 33 | font-variant: 1px; 34 | margin-right: 40px; 35 | margin-top: 70px; 36 | float: right; 37 | z-index: 2; 38 | 39 | } 40 | 41 | div.character_bg{ 42 | width: 500px; 43 | height: 50px; 44 | font-size:30px; 45 | float: left; 46 | margin-top: 20px; 47 | margin-left: 10px; 48 | background-image: url(../images/character_bg2.jpg); 49 | background-repeat:no-repeat; 50 | background-position: center center; 51 | background-size: cover; 52 | background-attachment: fixed; 53 | opacity: 0.2; 54 | z-index: 1 55 | 56 | 57 | 58 | 59 | } 60 | 61 | div.character{ 62 | 63 | font-size:30px; 64 | float: left; 65 | margin-top: 20px; 66 | margin-left: 40px; 67 | position: absolute; 68 | z-index: 2; 69 | 70 | } 71 | 72 | div.menu{ 73 | width: 20%; 74 | height: 85%; 75 | float: left; 76 | text-align: left; 77 | font-size: 10px; 78 | background-image: url("../images/images/stu_bg_02.jpg"); 79 | background-repeat: no-repeat; 80 | 81 | } 82 | 83 | div.menu_bottom{ 84 | 85 | width: 265px; 86 | height: 530px; 87 | float: left; 88 | 89 | background-repeat: no-repeat; 90 | 91 | z-index: 2; 92 | border-right: 7px groove; 93 | border-top: 7px groove; 94 | 95 | border-left: : 7px groove; 96 | 97 | border-color: blue; 98 | 99 | 100 | } 101 | 102 | div.menu_container{ 103 | 104 | width: 200px; 105 | height: 350px; 106 | float: left; 107 | 108 | z-index: 3; 109 | position: absolute; 110 | margin-left: 50px; 111 | margin-top: 100px; 112 | 113 | 114 | } 115 | 116 | 117 | 118 | div.display_iframe{ 119 | width: 80%; 120 | height: 85%; 121 | float: left; 122 | background-repeat: no-repeat; 123 | background-image: url("../images/images/stu_bg_03.jpg"); 124 | 125 | 126 | 127 | } 128 | 129 | div.iframe_bottom{ 130 | 131 | width: 1090px; 132 | height: 80%; 133 | 134 | 135 | 136 | float: left; 137 | z-index: 1; 138 | position: absolute; 139 | border-top : 7px groove blue; 140 | 141 | 142 | } 143 | 144 | div.iframe{ 145 | width: 80%; 146 | height: 80%; 147 | 148 | float: left; 149 | z-index: 2; 150 | position: absolute; 151 | margin-top: 10px; 152 | 153 | } -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/css/style.css: -------------------------------------------------------------------------------- 1 | html,body,div,span,iframe,h1,h2,h3,a{ 2 | margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline; 3 | } 4 | 5 | 6 | ol,ul{ 7 | list-style:none;margin:0;padding:0; 8 | } 9 | 10 | .bg{ 11 | text-align: center; 12 | background-image: url(../images/bg2.jpg); 13 | background-repeat:no-repeat; 14 | background-position: center center; 15 | background-size: cover; 16 | background-attachment: fixed; 17 | 18 | } 19 | 20 | div.main{ 21 | 22 | width: 100%; 23 | height: 100%; 24 | margin:0 auto; 25 | 26 | 27 | } 28 | 29 | div.intro{ 30 | width: 100%; 31 | height: 15%; 32 | 33 | } 34 | 35 | div.character_bg{ 36 | width: 500px; 37 | height: 50px; 38 | font-size:30px; 39 | float: left; 40 | margin-top: 20px; 41 | margin-left: 10px; 42 | background-image: url(../images/character_bg.jpg); 43 | background-repeat:no-repeat; 44 | background-position: center center; 45 | background-size: cover; 46 | background-attachment: fixed; 47 | opacity: 0.2; 48 | z-index: 1 49 | 50 | 51 | } 52 | 53 | div.character{ 54 | 55 | font-size:30px; 56 | float: left; 57 | margin-top: 20px; 58 | margin-left: 40px; 59 | position: absolute; 60 | z-index: 2 61 | } 62 | 63 | div.login_form{ 64 | 65 | width: 600px; 66 | height: 60%; 67 | z-index: 1; 68 | } 69 | 70 | div.bottom{/*底色*/ 71 | background-color: white; 72 | width: 600px; 73 | height: 300px; 74 | 75 | opacity: 0.3; 76 | position: absolute; 77 | z-index: 2; 78 | border-bottom: 7px groove; 79 | border-top: 7px groove; 80 | border-right: 7px groove; 81 | border-left: 7px groove; 82 | 83 | 84 | } 85 | 86 | div.login_table{ 87 | 88 | 89 | width: 600px; 90 | height: 300px; 91 | 92 | position: fixed; 93 | z-index: 8; 94 | 95 | 96 | 97 | } 98 | 99 | div.login_table table,tr,td{ 100 | 101 | 102 | padding-top: 20px; 103 | text-align: center; 104 | 105 | 106 | } 107 | 108 | 109 | div.footer{ 110 | width: 100%; 111 | height: 15%; 112 | 113 | } 114 | 115 | /*首页登录*/ 116 | /*******************************************************************************************************************/ 117 | 118 | 119 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/css/tea.css: -------------------------------------------------------------------------------- 1 | html,body,div,span,iframe,h1,h2,h3,a{ 2 | margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline; 3 | } 4 | ol,ul{ 5 | margin:0;padding:0; 6 | } 7 | 8 | a:link {color: black;text-decoration: none} 9 | a:visited {color: black;text-decoration: none} 10 | a:hover {color: blue;text-decoration: underline} 11 | a:active {color: red} 12 | 13 | 14 | ul 15 | { 16 | font-size: 20px; 17 | font-weight: bold; 18 | list-style-image:url("../images/arrow.png"); 19 | list-style-type:square; 20 | } 21 | 22 | /*教师界面管理*/ 23 | div.header{ 24 | width:100%; 25 | height: 15%; 26 | background-image: url("../images/images/tea_01.jpg"); 27 | background-repeat: no-repeat; 28 | 29 | } 30 | 31 | div.login_user{ 32 | font-weight: bold; 33 | font-variant: 1px; 34 | margin-right: 40px; 35 | margin-top: 70px; 36 | float: right; 37 | z-index: 2; 38 | 39 | } 40 | 41 | div.character_bg{ 42 | width: 500px; 43 | height: 50px; 44 | font-size:30px; 45 | float: left; 46 | margin-top: 20px; 47 | margin-left: 10px; 48 | background-image: url(../images/character_bg2.jpg); 49 | background-repeat:no-repeat; 50 | background-position: center center; 51 | background-size: cover; 52 | background-attachment: fixed; 53 | opacity: 0.2; 54 | z-index: 1 55 | 56 | 57 | 58 | 59 | } 60 | 61 | div.character{ 62 | 63 | font-size:30px; 64 | float: left; 65 | margin-top: 20px; 66 | margin-left: 40px; 67 | position: absolute; 68 | z-index: 2; 69 | 70 | } 71 | 72 | div.menu{ 73 | width: 20%; 74 | height: 85%; 75 | float: left; 76 | text-align: left; 77 | font-size: 10px; 78 | background-image: url("../images/images/tea_02.jpg"); 79 | background-repeat: no-repeat; 80 | 81 | } 82 | 83 | div.menu_bottom{ 84 | 85 | width: 265px; 86 | height: 530px; 87 | float: left; 88 | 89 | background-repeat: no-repeat; 90 | 91 | z-index: 2; 92 | border-right: 7px groove; 93 | border-top: 7px groove; 94 | 95 | border-left: : 7px groove; 96 | 97 | border-color: blue; 98 | 99 | 100 | } 101 | 102 | div.menu_container{ 103 | 104 | width: 200px; 105 | height: 350px; 106 | float: left; 107 | 108 | z-index: 3; 109 | position: absolute; 110 | margin-left: 50px; 111 | margin-top: 100px; 112 | 113 | 114 | } 115 | 116 | 117 | 118 | div.display_iframe{ 119 | width: 80%; 120 | height: 85%; 121 | float: left; 122 | background-repeat: no-repeat; 123 | background-image: url("../images/images/tea_03.jpg"); 124 | 125 | 126 | 127 | } 128 | 129 | div.iframe_bottom{ 130 | 131 | width: 1090px; 132 | height: 80%; 133 | 134 | 135 | 136 | float: left; 137 | z-index: 1; 138 | position: absolute; 139 | border-top : 7px groove blue; 140 | 141 | 142 | } 143 | 144 | div.iframe{ 145 | width: 80%; 146 | height: 80%; 147 | 148 | float: left; 149 | z-index: 2; 150 | position: absolute; 151 | margin-top: 10px; 152 | 153 | } -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/error/error.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 请勿错误操作! 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/error/message.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 暂未开放选课 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/error/wrong.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 您还未登录! 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/admin.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/admin.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/arrow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/arrow.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/arrow.png -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/arrow1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/arrow1.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/bg2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/bg2.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/character_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/character_bg.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/character_bg2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/character_bg2.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/display_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/display_bg.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/display_bg2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/display_bg2.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/header.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/header.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/header1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/header1.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/header2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/header2.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/header3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/header3.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/header4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/header4.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/icons.png -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/images/admin_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/images/admin_01.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/images/admin_02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/images/admin_02.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/images/admin_03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/images/admin_03.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/images/stu_bg_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/images/stu_bg_01.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/images/stu_bg_02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/images/stu_bg_02.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/images/stu_bg_03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/images/stu_bg_03.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/images/tea_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/images/tea_01.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/images/tea_02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/images/tea_02.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/images/tea_03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/images/tea_03.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/into.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/into.png -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/login_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/login_bg.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/login_bg2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/login_bg2.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/login_form.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/login_form.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/menu_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/menu_bg.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/stu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/stu.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/stu_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/stu_bg.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/tag.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/tag.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/tea.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/tea.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/ul_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/ul_bg.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/images/登录页面示范.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/images/登录页面示范.jpg -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/dtree.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/dtree.css -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/base.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/base.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/cd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/cd.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/empty.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/empty.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/folder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/folder.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/folderopen.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/folderopen.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/globe.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/globe.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/imgfolder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/imgfolder.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/join.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/join.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/joinbottom.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/joinbottom.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/line.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/minus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/minus.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/minusbottom.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/minusbottom.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/musicfolder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/musicfolder.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/nolines_minus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/nolines_minus.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/nolines_plus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/nolines_plus.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/page.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/page.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/plus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/plus.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/plusbottom.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/plusbottom.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/question.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/question.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/img/trash.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/img/trash.gif -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/laydate/theme/default/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/laydate/theme/default/font/iconfont.eot -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/laydate/theme/default/font/iconfont.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | Created by iconfont 9 | 10 | 11 | 12 | 13 | 21 | 22 | 23 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/laydate/theme/default/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/laydate/theme/default/font/iconfont.ttf -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/js/laydate/theme/default/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EdsonUnique/SelectionCourseSystem/f16b90b9da9df45b5e869264d9f3f50e5df09e73/SelectionCourseSystem/WebRoot/jsp/js/laydate/theme/default/font/iconfont.woff -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/student/main.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | <% 5 | String path = request.getContextPath(); 6 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 7 | %> 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 |
27 | 欢迎登录选课系统学生界面管理 28 |
29 |
30 | 用户名:${stu_user.stu_name }     31 | 32 |
33 |
34 | 35 | 51 | 52 | 53 |
54 |
55 | 56 |
57 |
58 | 59 |
60 | 61 |
62 | 63 | 64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/student/stu_course.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | <% 5 | String path = request.getContextPath(); 6 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 7 | %> 8 | 9 | 10 | 11 | 12 | 13 | 已选课程 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 |
24 |
25 | 暂无所选课程 26 | 27 | 28 | 29 | 30 | 34 | 37 | 40 | 43 | 46 | 47 | 50 | 51 | 52 |
53 |
54 | 58 | 61 | 64 | 70 | 73 | 76 | 79 | 80 | 81 | 82 |
31 | 32 | 编号 33 | 35 | 课程名称 36 | 38 | 授课教师 39 | 41 | 已选该课的学生数量 42 | 44 | 可容纳学生的数量 45 | 学分 48 | 操作 49 |
55 | 56 | 57 | 59 | 60 | 62 | 63 | 65 | 0 66 | 67 | 68 | 69 | 71 | 72 | 74 | 75 | 77 | 78 |
83 |
84 |
85 | 86 |
87 |
88 |
89 | 90 | 91 | 95 | 96 | 102 | 103 | 104 | 105 | 108 | 109 | 110 | 113 | 114 | 115 | 116 |
92 | 当前页码: 93 | 总记录:条 94 | 97 | 98 |     /   99 | 100 | 101 | 106 | 107 | 111 | 112 |
117 |
118 |
119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/student/stu_selection.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | <% 5 | String path = request.getContextPath(); 6 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 7 | %> 8 | 9 | 10 | 11 | 12 | 13 | 选课信息 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 |
25 |
26 | 27 | 28 | 29 | 30 | 33 | 36 | 39 | 42 | 43 | 44 |
31 | 32 | 34 | 35 | 37 | 38 | 40 | 41 |
45 | 46 | 数据库暂无该对象数据或您已选完所有课程 47 | 48 | 49 | 50 | 51 | 52 | 55 | 58 | 61 | 64 | 67 | 70 | 73 | 74 | 75 |
76 |
77 | 82 | 85 | 88 | 94 | 97 | 100 | 103 | 104 | 105 | 106 |
53 | 课程编号 54 | 56 | 课程名称 57 | 59 | 授课教师 60 | 62 | 已选该课的学生数量 63 | 65 | 可容纳学生的数量 66 | 68 | 学分 69 | 71 | 操作 72 |
78 | 79 | 80 | 81 | 83 | 84 | 86 | 87 | 89 | 0 90 | 91 | 92 | 93 | 95 | 96 | 98 | 99 | 101 | 102 |
107 |
108 |
109 | 110 |
111 |
112 |
113 | 114 | 115 | 119 | 120 | 126 | 127 | 128 | 129 | 132 | 133 | 134 | 137 | 138 | 139 | 140 |
116 | 当前页码: 117 | 总记录:条 118 | 121 | 122 |     /   123 | 124 | 125 | 130 | 131 | 135 | 136 |
141 |
142 |
143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/student/updatePwd.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 18 | 19 | 20 | 21 |
22 | 23 |
24 |
25 | 26 |
27 | 28 | 29 | 32 | 35 | 38 | 39 | 40 | 41 | 44 | 47 | 50 | 51 | 52 | 55 | 58 | 59 |
30 | 新密码: 31 | 33 | 34 | 36 | * 37 |
42 | 再次确认新密码: 43 | 45 | 46 | 48 | * 49 |
53 | 54 | 56 | 57 |
60 | 61 | 62 |
63 | 64 |
65 | 66 | 67 |
68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/teacher/main.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | <% 5 | String path = request.getContextPath(); 6 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 7 | %> 8 | 9 | 10 | 11 | 12 | 13 | 教师管理页面 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 |
27 |
28 | 欢迎登录选课系统教师界面管理 29 |
30 |
31 | 用户名:${tea_user.tea_name }     32 | 33 |
34 |
35 | 36 | 52 | 53 | 54 |
55 |
56 | 57 |
58 |
59 | 60 |
61 | 62 |
63 | 64 | 65 | 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/teacher/mycourse.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | <% 5 | String path = request.getContextPath(); 6 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 7 | %> 8 | 9 | 10 | 11 | 12 | 13 | 课程信息 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 |
23 |
24 | 暂无课程 25 | 26 | 27 | 28 | 31 | 34 | 37 | 40 | 43 | 46 | 49 | 50 | 51 | 52 | 56 | 59 | 62 | 65 | 69 | 72 | 76 | 77 | 78 |
29 | 课程编号 30 | 32 | 课程名称 33 | 35 | 授课教师 36 | 38 | 学分 39 | 41 | 是否作为选课内容 42 | 44 | 可容纳学生的数量 45 | 47 | 是否已开课 48 |
53 | 54 | 55 | 57 | 58 | 60 | 61 | 63 | 64 | 66 | 67 | 68 | 70 | 71 | 73 | 74 | 75 |
79 |
80 |
81 | 82 |
83 |
84 |
85 | 86 | 87 | 91 | 92 | 98 | 99 | 100 | 101 | 104 | 105 | 106 | 109 | 110 | 111 | 112 |
88 | 当前页码: 89 | 总记录:条 90 | 93 | 94 |     /   95 | 96 | 97 | 102 | 103 | 107 | 108 |
113 |
114 |
115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/teacher/myselection.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | <% 5 | String path = request.getContextPath(); 6 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 7 | %> 8 | 9 | 10 | 11 | 12 | 13 | 开课信息 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 |
23 |
24 | 暂无课程 25 | 26 | 27 | 28 | 31 | 34 | 37 | 38 | 41 | 44 | 47 | 48 | 49 | 50 | 54 | 57 | 60 | 63 | 66 | 69 | 72 | 73 | 74 |
29 | 课程编号 30 | 32 | 课程名称 33 | 35 | 授课教师 36 | 学分 39 | 已选该课的学生数量 40 | 42 | 可容纳学生的数量 43 | 45 | 操作 46 |
51 | 52 | 53 | 55 | 56 | 58 | 59 | 61 | 62 | 64 | 65 | 67 | 68 | 70 | 查看选课学生信息 71 |
75 |
76 |
77 | 78 |
79 |
80 |
81 | 82 | 83 | 87 | 88 | 94 | 95 | 96 | 97 | 100 | 101 | 102 | 105 | 106 | 107 | 108 |
84 | 当前页码: 85 | 总记录:条 86 | 89 | 90 |     /   91 | 92 | 93 | 98 | 99 | 103 | 104 |
109 |
110 |
111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/teacher/stu_select_search.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | <% 5 | String path = request.getContextPath(); 6 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 7 | %> 8 | 9 | 10 | 11 | 12 | 13 | 学生信息 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 |
25 |
26 | 暂无学生选择该课程 27 | 28 | 29 | 30 | 33 | 36 | 39 | 42 | 43 | 44 | 45 | 48 | 51 | 55 | 58 | 59 | 60 | 61 |
31 | 学号 32 | 34 | 姓名 35 | 37 | 性别 38 | 40 | 出生日期 41 |
46 | 47 | 49 | 50 | 52 | 53 | 54 | 56 | 57 |
62 |
63 |
64 | 65 |
66 |
67 |
68 | 69 | 70 | 73 | 76 | 79 | 80 | 81 | 82 | 83 | 84 | 87 | 88 | 89 | 92 | 93 | 94 | 95 |
71 | 当前页码: 72 | 74 | 总记录:条 75 | 77 | 总页数:页 78 | 85 | 86 | 90 | 91 |
96 |
97 |
98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | -------------------------------------------------------------------------------- /SelectionCourseSystem/WebRoot/jsp/teacher/updatePwd.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <%@ taglib prefix="s" uri="/struts-tags"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 18 | 19 | 20 | 21 |
22 | 23 |
24 |
25 | 26 |
27 | 28 | 29 | 32 | 35 | 38 | 39 | 40 | 41 | 44 | 47 | 50 | 51 | 52 | 55 | 58 | 59 |
30 | 新密码: 31 | 33 | 34 | 36 | * 37 |
42 | 再次确认新密码: 43 | 45 | 46 | 48 | * 49 |
53 | 54 | 56 | 57 |
60 | 61 | 62 |
63 | 64 |
65 | 66 | 67 |
68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/applicationContext.xml: -------------------------------------------------------------------------------- 1 | 2 | 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 | true 58 | 59 | true 60 | 61 | org.hibernate.dialect.MySQL5InnoDBDialect 62 | 63 | 64 | 65 | update 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | edson/bean/Admin.hbm.xml 77 | edson/bean/Student.hbm.xml 78 | edson/bean/Teacher.hbm.xml 79 | edson/bean/Course.hbm.xml 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/database.properties: -------------------------------------------------------------------------------- 1 | 2 | jdbc.driver=com.mysql.jdbc.Driver 3 | 4 | jdbc.url=jdbc\:mysql\://localhost\:3308/selection_course_data?useUnicode\=true&characterEncoding\=utf8&&serverTimezone\=GMT 5 | 6 | jdbc.username=root 7 | 8 | jdbc.password=147258369 9 | 10 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/bean/Admin.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/bean/Admin.java: -------------------------------------------------------------------------------- 1 | package edson.bean; 2 | 3 | public class Admin { 4 | 5 | private String admin_id=""; 6 | private String admin_name=""; 7 | private Integer admin_gender=0;//0 female 1 male 8 | private String admin_pwd=""; 9 | 10 | 11 | 12 | public String getAdmin_id() { 13 | return admin_id; 14 | } 15 | public void setAdmin_id(String admin_id) { 16 | this.admin_id = admin_id; 17 | } 18 | public String getAdmin_name() { 19 | return admin_name; 20 | } 21 | public void setAdmin_name(String admin_name) { 22 | this.admin_name = admin_name; 23 | } 24 | public Integer getAdmin_gender() { 25 | return admin_gender; 26 | } 27 | public void setAdmin_gender(Integer admin_gender) { 28 | this.admin_gender = admin_gender; 29 | } 30 | public String getAdmin_pwd() { 31 | return admin_pwd; 32 | } 33 | public void setAdmin_pwd(String admin_pwd) { 34 | this.admin_pwd = admin_pwd; 35 | } 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | } 46 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/bean/Course.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/bean/Course.java: -------------------------------------------------------------------------------- 1 | package edson.bean; 2 | 3 | import java.util.HashSet; 4 | import java.util.Set; 5 | 6 | public class Course { 7 | 8 | private String course_id=""; 9 | private String course_name=""; 10 | private Integer credit=0; 11 | private Integer is_selection=0;//是否为选课内容 12 | 13 | private Integer selection_taken=0;//已选该课的学生数量 14 | private Integer is_on=0;//是否开课 15 | private Integer capacity=0; 16 | 17 | private Setstudents=new HashSet(); 18 | private Teacher tea; 19 | 20 | 21 | public Teacher getTea() { 22 | return tea; 23 | } 24 | public void setTea(Teacher tea) { 25 | this.tea = tea; 26 | } 27 | public Set getStudents() { 28 | return students; 29 | } 30 | public void setStudents(Set students) { 31 | this.students = students; 32 | } 33 | 34 | public Integer getSelection_taken() { 35 | return selection_taken; 36 | } 37 | public void setSelection_taken(Integer selection_taken) { 38 | this.selection_taken = selection_taken; 39 | } 40 | public Integer getIs_on() { 41 | return is_on; 42 | } 43 | public void setIs_on(Integer is_on) { 44 | this.is_on = is_on; 45 | } 46 | public Integer getCapacity() { 47 | return capacity; 48 | } 49 | public void setCapacity(Integer capacity) { 50 | this.capacity = capacity; 51 | } 52 | 53 | 54 | 55 | public Integer getIs_selection() { 56 | return is_selection; 57 | } 58 | public void setIs_selection(Integer is_selection) { 59 | this.is_selection = is_selection; 60 | } 61 | public String getCourse_id() { 62 | return course_id; 63 | } 64 | public void setCourse_id(String course_id) { 65 | this.course_id = course_id; 66 | } 67 | public String getCourse_name() { 68 | return course_name; 69 | } 70 | public void setCourse_name(String course_name) { 71 | this.course_name = course_name; 72 | } 73 | 74 | public Integer getCredit() { 75 | return credit; 76 | } 77 | public void setCredit(Integer credit) { 78 | this.credit = credit; 79 | } 80 | @Override 81 | public int hashCode() { 82 | Course c = (Course) this; 83 | return c.course_id.hashCode(); 84 | 85 | } 86 | @Override 87 | public boolean equals(Object obj) { 88 | if(obj==null)return false; 89 | 90 | if (obj instanceof Course) { 91 | Course c = (Course) obj; 92 | return (this.course_id.equals(c.course_id)); 93 | } 94 | return super.equals(obj); 95 | 96 | } 97 | 98 | 99 | 100 | 101 | } 102 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/bean/Student.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/bean/Student.java: -------------------------------------------------------------------------------- 1 | package edson.bean; 2 | 3 | import java.util.HashSet; 4 | import java.util.Set; 5 | 6 | public class Student { 7 | 8 | private String stu_id=""; 9 | private String stu_name=""; 10 | private Integer stu_gender=0; 11 | private String stu_birth=""; 12 | private String stu_pwd=""; 13 | 14 | private Set courses=new HashSet(); 15 | 16 | 17 | 18 | public Set getCourses() { 19 | return courses; 20 | } 21 | public void setCourses(Set courses) { 22 | this.courses = courses; 23 | } 24 | public String getStu_id() { 25 | return stu_id; 26 | } 27 | @Override//重写hashcode和equals方法,list、set等集合操作对于实体对象才有效 28 | public int hashCode() { 29 | Student c = (Student) this; 30 | return c.stu_id.hashCode(); 31 | 32 | } 33 | @Override 34 | public boolean equals(Object obj) { 35 | if(obj==null)return false; 36 | 37 | if (obj instanceof Student) { 38 | Student c = (Student) obj; 39 | return (this.stu_id.equals(c.stu_id)); 40 | } 41 | return super.equals(obj); 42 | 43 | } 44 | public void setStu_id(String stu_id) { 45 | this.stu_id = stu_id; 46 | } 47 | public String getStu_name() { 48 | return stu_name; 49 | } 50 | public void setStu_name(String stu_name) { 51 | this.stu_name = stu_name; 52 | } 53 | public Integer getStu_gender() { 54 | return stu_gender; 55 | } 56 | public void setStu_gender(Integer stu_gender) { 57 | this.stu_gender = stu_gender; 58 | } 59 | public String getStu_birth() { 60 | return stu_birth; 61 | } 62 | public void setStu_birth(String stu_birth) { 63 | this.stu_birth = stu_birth; 64 | } 65 | public String getStu_pwd() { 66 | return stu_pwd; 67 | } 68 | public void setStu_pwd(String stu_pwd) { 69 | this.stu_pwd = stu_pwd; 70 | } 71 | 72 | 73 | } 74 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/bean/Teacher.hbm.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/bean/Teacher.java: -------------------------------------------------------------------------------- 1 | package edson.bean; 2 | 3 | import java.util.HashSet; 4 | import java.util.Set; 5 | 6 | public class Teacher { 7 | 8 | private String tea_id=""; 9 | private String tea_name=""; 10 | private Integer tea_gender=0; 11 | private String tea_birth=""; 12 | private String tea_pwd=""; 13 | 14 | private Setcourses=new HashSet(); 15 | 16 | 17 | 18 | public Set getCourses() { 19 | return courses; 20 | } 21 | public void setCourses(Set courses) { 22 | this.courses = courses; 23 | } 24 | public String getTea_id() { 25 | return tea_id; 26 | } 27 | public void setTea_id(String tea_id) { 28 | this.tea_id = tea_id; 29 | } 30 | public String getTea_name() { 31 | return tea_name; 32 | } 33 | public void setTea_name(String tea_name) { 34 | this.tea_name = tea_name; 35 | } 36 | public Integer getTea_gender() { 37 | return tea_gender; 38 | } 39 | public void setTea_gender(Integer tea_gender) { 40 | this.tea_gender = tea_gender; 41 | } 42 | public String getTea_birth() { 43 | return tea_birth; 44 | } 45 | public void setTea_birth(String tea_birth) { 46 | this.tea_birth = tea_birth; 47 | } 48 | public String getTea_pwd() { 49 | return tea_pwd; 50 | } 51 | public void setTea_pwd(String tea_pwd) { 52 | this.tea_pwd = tea_pwd; 53 | } 54 | 55 | 56 | } 57 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/business/serviceImpl/AdminService.java: -------------------------------------------------------------------------------- 1 | package edson.business.serviceImpl; 2 | 3 | import java.sql.SQLException; 4 | import java.util.List; 5 | 6 | import org.springframework.transaction.annotation.Transactional; 7 | 8 | import edson.bean.Admin; 9 | import edson.bean.Course; 10 | import edson.bean.Student; 11 | import edson.bean.Teacher; 12 | import edson.database.daoImpl.AdminDao; 13 | import edson.utils.PageBean; 14 | 15 | @Transactional 16 | public class AdminService implements AdminServiceInter { 17 | 18 | AdminDao adminDao; 19 | 20 | //查找admin对象 21 | public Admin findAdmin(String username, String pwd) { 22 | // TODO Auto-generated method stub 23 | return adminDao.findAdmin( username, pwd); 24 | } 25 | 26 | 27 | public void setAdminDao(AdminDao adminDao) { 28 | this.adminDao = adminDao; 29 | } 30 | 31 | 32 | public void save(Student stu) { 33 | 34 | adminDao.save(stu); 35 | 36 | } 37 | 38 | public void save(Teacher tea) { 39 | 40 | adminDao.save(tea); 41 | 42 | } 43 | 44 | 45 | public PageBean findPageStudent(Integer num) { 46 | 47 | return adminDao.findPageStudent( num); 48 | } 49 | 50 | 51 | public PageBean searchStuById(String stu_id) { 52 | 53 | return adminDao.searchStuById(stu_id); 54 | } 55 | 56 | 57 | public PageBean searchStuByName(String stu_name,Integer num) { 58 | // TODO Auto-generated method stub 59 | return adminDao.searchStuByName(stu_name,num); 60 | } 61 | 62 | 63 | public void updateStu(Student stu) { 64 | adminDao.updateStu(stu); 65 | } 66 | 67 | 68 | public void deleteStu(Student stu) { 69 | adminDao.deleteStu(stu); 70 | } 71 | 72 | 73 | public PageBean findPageTeacher(Integer num) { 74 | // TODO Auto-generated method stub 75 | return adminDao.findPageTeacher(num); 76 | } 77 | 78 | 79 | public PageBean searchTeaById(String tea_id) { 80 | // TODO Auto-generated method stub 81 | return adminDao.searchTeaById(tea_id); 82 | } 83 | 84 | 85 | public PageBean searchTeaByName(String tea_name, Integer num) { 86 | // TODO Auto-generated method stub 87 | return adminDao.searchTeaByName(tea_name, num); 88 | } 89 | 90 | 91 | public void updateTea(Teacher tea) { 92 | adminDao.updateTea(tea); 93 | 94 | } 95 | 96 | 97 | public void deleteTea(Teacher tea) { 98 | adminDao.deleteTea(tea); 99 | 100 | } 101 | 102 | 103 | public void save(Course course) { 104 | adminDao.save(course); 105 | } 106 | 107 | 108 | public PageBean findPageCourse(Integer num) { 109 | return adminDao.findPageCourse(num); 110 | } 111 | 112 | 113 | public PageBean searchCourseById(String course_id) { 114 | return adminDao.searchCourseById(course_id); 115 | } 116 | 117 | 118 | public PageBean searchCourseByName(String course_name, Integer num) { 119 | return adminDao.searchCourseByName(course_name, num); 120 | } 121 | 122 | 123 | public void updateCourse(Course course) { 124 | adminDao.updateCourse(course); 125 | 126 | } 127 | 128 | 129 | public void deleteCourse(Course course) { 130 | adminDao.deleteCourse(course); 131 | } 132 | 133 | 134 | public List findAllTeacher() { 135 | return adminDao.findAllTeacher(); 136 | } 137 | 138 | 139 | /*public void addSelection(Selection selection) { 140 | adminDao.addSelection(selection); 141 | }*/ 142 | 143 | 144 | /*public void deleteSelection(String course_id) throws SQLException { 145 | adminDao.deleteSelection(course_id); 146 | }*/ 147 | 148 | 149 | public Course searchBySelectionId(String course_id) { 150 | return adminDao.findCourseById(course_id); 151 | } 152 | 153 | 154 | public Course searchBySelectionName(String course_name) { 155 | return adminDao.searchBySelectionName(course_name); 156 | } 157 | 158 | 159 | public PageBean findPageSelection(Integer num) { 160 | // TODO Auto-generated method stub 161 | return adminDao.finPageSelection(num); 162 | } 163 | 164 | 165 | public void updateSelection(Course course,int state) { 166 | adminDao.updateSelection(course,state); 167 | } 168 | 169 | 170 | public void updateAdmin(Admin admin) { 171 | adminDao.updateAdmin(admin); 172 | } 173 | 174 | 175 | public Student findStudent(String username, String pwd) { 176 | return adminDao.findStudent(username,pwd); 177 | } 178 | 179 | 180 | public Teacher findTea(String username, String pwd) { 181 | // TODO Auto-generated method stub 182 | return adminDao.findTea(username,pwd); 183 | } 184 | 185 | 186 | 187 | 188 | } 189 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/business/serviceImpl/AdminServiceInter.java: -------------------------------------------------------------------------------- 1 | package edson.business.serviceImpl; 2 | 3 | public interface AdminServiceInter { 4 | 5 | 6 | } -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/business/serviceImpl/StuService.java: -------------------------------------------------------------------------------- 1 | package edson.business.serviceImpl; 2 | 3 | import org.springframework.transaction.annotation.Transactional; 4 | 5 | import edson.bean.Course; 6 | import edson.bean.Student; 7 | import edson.database.daoImpl.StuDao; 8 | import edson.utils.PageBean; 9 | @Transactional 10 | public class StuService { 11 | 12 | 13 | public StuDao stuDao; 14 | 15 | public void setStuDao(StuDao stuDao) { 16 | this.stuDao = stuDao; 17 | } 18 | 19 | public PageBean findPageSelection(Integer num) { 20 | // TODO Auto-generated method stub 21 | return stuDao.findPageSelection(num); 22 | } 23 | 24 | public Course findCourseById(String course_id) { 25 | // TODO Auto-generated method stub 26 | return stuDao.findCourseById(course_id); 27 | } 28 | 29 | public PageBean findMySelection(Integer num, String stu_id) { 30 | // TODO Auto-generated method stub 31 | return stuDao.findMySelection(num,stu_id); 32 | } 33 | 34 | public void updateStu(Student stu) { 35 | // TODO Auto-generated method stub 36 | stuDao.updateStu(stu); 37 | } 38 | 39 | public void updateCourse(Course course) { 40 | // TODO Auto-generated method stub 41 | stuDao.updateCourse(course); 42 | } 43 | 44 | public PageBean findSelection(Integer num, String stu_id) { 45 | // TODO Auto-generated method stub 46 | return stuDao.findSelection(num,stu_id); 47 | } 48 | 49 | public Student findStuById(String stu_id) { 50 | // TODO Auto-generated method stub 51 | return stuDao.findStuById(stu_id); 52 | } 53 | 54 | public PageBean searchCourseByTeaName(String tea_name,Integer num) { 55 | // TODO Auto-generated method stub 56 | return stuDao.searchCourseByTeaName(tea_name,num); 57 | } 58 | 59 | public PageBean searchCourseByCourseName(String course_name, Integer num) { 60 | // TODO Auto-generated method stub 61 | return stuDao.searchCourseByCourseName(course_name,num); 62 | } 63 | 64 | 65 | } 66 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/business/serviceImpl/TeaService.java: -------------------------------------------------------------------------------- 1 | package edson.business.serviceImpl; 2 | 3 | import org.springframework.transaction.annotation.Transactional; 4 | 5 | import edson.bean.Teacher; 6 | import edson.database.daoImpl.TeaDao; 7 | import edson.utils.PageBean; 8 | 9 | @Transactional 10 | public class TeaService { 11 | 12 | public TeaDao teaDao; 13 | 14 | public void setTeaDao(TeaDao teaDao) { 15 | this.teaDao = teaDao; 16 | } 17 | 18 | public PageBean findMyCourse(Integer num, String tea_id) { 19 | // TODO Auto-generated method stub 20 | return teaDao.findMyCourse(num,tea_id); 21 | } 22 | 23 | public PageBean findMySelection(Integer num, String tea_id) { 24 | // TODO Auto-generated method stub 25 | return teaDao.findMySelection(num,tea_id); 26 | } 27 | 28 | public PageBean findCourseStudents(Integer num, String course_id) { 29 | // TODO Auto-generated method stub 30 | return teaDao.findCourseStudents(num,course_id); 31 | } 32 | 33 | public Teacher findTeaById(String tea_id) { 34 | // TODO Auto-generated method stub 35 | return teaDao.findTeaById(tea_id); 36 | } 37 | 38 | public void updateTea(Teacher tea) { 39 | 40 | teaDao.updateTea(tea); 41 | } 42 | 43 | 44 | 45 | } 46 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/database/daoImpl/AdminDaoInter.java: -------------------------------------------------------------------------------- 1 | package edson.database.daoImpl; 2 | 3 | import edson.bean.Admin; 4 | 5 | public interface AdminDaoInter { 6 | 7 | Admin findAdmin(String username, String pwd); 8 | 9 | } -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/database/daoImpl/StuDao.java: -------------------------------------------------------------------------------- 1 | package edson.database.daoImpl; 2 | 3 | import java.util.List; 4 | 5 | import org.hibernate.HibernateException; 6 | import org.hibernate.Session; 7 | import org.springframework.orm.hibernate5.HibernateCallback; 8 | import org.springframework.orm.hibernate5.HibernateTemplate; 9 | import org.springframework.orm.hibernate5.support.HibernateDaoSupport; 10 | 11 | import edson.bean.Course; 12 | import edson.bean.Student; 13 | import edson.utils.PageBean; 14 | 15 | public class StuDao extends HibernateDaoSupport{ 16 | 17 | private String hql,hql_table; 18 | 19 | public PageBean findPageSelection(Integer num) { 20 | hql="select count(*) from Course c where c.is_selection=1";//查询总共记录数 21 | hql_table="from Course c where c.is_selection=1";//指定表 22 | return findPageTool(num); 23 | } 24 | 25 | 26 | public PageBean findPageTool(final Integer pagenum) { 27 | Integer totalRecord; 28 | 29 | totalRecord=findTotalRecord(hql,null); 30 | 31 | List cs=this.getHibernateTemplate().execute(new HibernateCallback>() { 32 | 33 | @Override 34 | public List doInHibernate(Session session) 35 | throws HibernateException { 36 | 37 | return session.createQuery(hql_table) 38 | .setFirstResult((pagenum-1)*6) 39 | .setMaxResults(6) 40 | .list(); 41 | 42 | } 43 | }); 44 | 45 | 46 | 47 | PageBean pb=new PageBean(pagenum,totalRecord,cs); 48 | 49 | return pb; 50 | } 51 | 52 | public Integer findTotalRecord(String hql,Object[] params) { 53 | List pageRecord; 54 | if(params==null || params.length<=0){ 55 | pageRecord=(List) this.getHibernateTemplate().find(hql); 56 | }else{ 57 | pageRecord=(List) this.getHibernateTemplate().find(hql,Integer.valueOf(params[0].toString())); 58 | } 59 | if(pageRecord.size()<=0)return null; 60 | return pageRecord.get(0).intValue(); 61 | } 62 | 63 | 64 | public Course findCourseById(String course_id) { 65 | List cs=(List) this.getHibernateTemplate().find("from Course c where c.course_id like ?0", course_id); 66 | return cs.size()>0?cs.get(0):null; 67 | } 68 | 69 | //left join fetch 填充左边的表 70 | public PageBean findMySelection(Integer num, String stu_id) { 71 | hql="select count(*) from Course c left join c.students t where t.stu_id like '"+stu_id+"'";//查询总共记录数 72 | hql_table="from Course c left join fetch c.students t where t.stu_id like '"+stu_id+"'";//指定表 73 | return findPageTool(num); 74 | } 75 | 76 | 77 | public void updateStu(Student stu) { 78 | this.getHibernateTemplate().merge(stu);//解决save或update托管态异常 79 | 80 | 81 | } 82 | 83 | 84 | public void updateCourse(Course course) { 85 | // TODO Auto-generated method stub 86 | this.getHibernateTemplate().update(course); 87 | } 88 | 89 | //多对多:联表查询中间表,关联实体类中的set集合 90 | public PageBean findSelection(Integer num, String stu_id) { 91 | hql=" select count(*) from Course u where u.is_selection=1 and u.course_id not in(select c.course_id from Course c left join c.students t where t.stu_id like '"+stu_id+"')";//查询总共记录数 92 | hql_table="from Course u where u.is_selection=1 and u.course_id not in(select c.course_id from Course c left join c.students t where t.stu_id like '"+stu_id+"')";//指定表 93 | return findPageTool(num); 94 | } 95 | 96 | 97 | public Student findStuById(String stu_id) { 98 | List s=(List) this.getHibernateTemplate().find("from Student s where s.stu_id like ?0", stu_id); 99 | return s.size()>0?s.get(0):null; 100 | } 101 | 102 | 103 | public PageBean searchCourseByTeaName(String tea_name,Integer num) { 104 | hql=" select count(*) from Course u where u.is_selection=1 and u.tea.tea_name like '"+tea_name+"'";//查询总共记录数 105 | hql_table="from Course u where u.is_selection=1 and u.tea.tea_name like '"+tea_name+"'";//指定表 106 | return findPageTool(num); 107 | } 108 | 109 | 110 | public PageBean searchCourseByCourseName(String course_name, Integer num) { 111 | hql=" select count(*) from Course u where u.is_selection=1 and u.course_name like '"+course_name+"'";//查询总共记录数 112 | hql_table="from Course u where u.is_selection=1 and u.course_name like '"+course_name+"'";//指定表 113 | return findPageTool(num); 114 | } 115 | 116 | 117 | 118 | } 119 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/database/daoImpl/TeaDao.java: -------------------------------------------------------------------------------- 1 | package edson.database.daoImpl; 2 | 3 | import java.util.List; 4 | 5 | import org.hibernate.HibernateException; 6 | import org.hibernate.Session; 7 | import org.springframework.orm.hibernate5.HibernateCallback; 8 | import org.springframework.orm.hibernate5.support.HibernateDaoSupport; 9 | 10 | import edson.bean.Student; 11 | import edson.bean.Teacher; 12 | import edson.utils.PageBean; 13 | 14 | public class TeaDao extends HibernateDaoSupport{ 15 | 16 | private String hql,hql_table; 17 | 18 | public PageBean findMyCourse(Integer num, String tea_id) { 19 | hql="select count(*) from Course c left join c.tea t where t.tea_id like '"+tea_id+"'";//查询总共记录数 20 | hql_table="from Course c left join fetch c.tea t where t.tea_id like '"+tea_id+"'";//指定表 21 | return findPageTool(num); 22 | } 23 | 24 | public PageBean findPageTool(final Integer pagenum) { 25 | Integer totalRecord; 26 | 27 | totalRecord=findTotalRecord(hql,null); 28 | 29 | List cs=this.getHibernateTemplate().execute(new HibernateCallback>() { 30 | 31 | @Override 32 | public List doInHibernate(Session session) 33 | throws HibernateException { 34 | 35 | return session.createQuery(hql_table) 36 | .setFirstResult((pagenum-1)*6) 37 | .setMaxResults(6) 38 | .list(); 39 | 40 | } 41 | }); 42 | 43 | 44 | 45 | PageBean pb=new PageBean(pagenum,totalRecord,cs); 46 | 47 | return pb; 48 | } 49 | 50 | public Integer findTotalRecord(String hql,Object[] params) { 51 | List pageRecord; 52 | if(params==null || params.length<=0){ 53 | pageRecord=(List) this.getHibernateTemplate().find(hql); 54 | }else{ 55 | pageRecord=(List) this.getHibernateTemplate().find(hql,Integer.valueOf(params[0].toString())); 56 | } 57 | if(pageRecord.size()<=0)return null; 58 | return pageRecord.get(0).intValue(); 59 | } 60 | 61 | public PageBean findMySelection(Integer num, String tea_id) { 62 | hql="select count(*) from Course c left join c.tea t where c.is_selection=1 and t.tea_id like '"+tea_id+"'";//查询总共记录数 63 | hql_table="from Course c left join fetch c.tea t where c.is_selection=1 and t.tea_id like '"+tea_id+"'";//指定表 64 | return findPageTool(num); 65 | } 66 | 67 | public PageBean findCourseStudents(Integer num, String course_id) { 68 | hql="select count(*) from Student s left join s.courses t where t.course_id like '"+course_id+"'";//查询总共记录数 69 | hql_table="from Student s left join fetch s.courses t where t.course_id like '"+course_id+"'";//指定表 70 | return findPageTool(num); 71 | } 72 | 73 | public Teacher findTeaById(String tea_id) { 74 | List ts=(List) this.getHibernateTemplate().find("from Teacher t where t.tea_id like ?0", tea_id); 75 | return ts.size()>0?ts.get(0):null; 76 | } 77 | 78 | public void updateTea(Teacher tea) { 79 | 80 | this.getHibernateTemplate().update(tea); 81 | } 82 | 83 | } 84 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/test/test_spring.java: -------------------------------------------------------------------------------- 1 | package edson.test; 2 | 3 | import static org.junit.Assert.*; 4 | 5 | import org.junit.Test; 6 | import org.springframework.context.ApplicationContext; 7 | import org.springframework.context.support.ClassPathXmlApplicationContext; 8 | 9 | import edson.business.serviceImpl.AdminServiceInter; 10 | 11 | public class test_spring { 12 | 13 | @Test 14 | public void test() { 15 | 16 | 17 | } 18 | 19 | } 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/utils/CheckSessionInterceptor.java: -------------------------------------------------------------------------------- 1 | package edson.utils; 2 | 3 | import java.util.Date; 4 | 5 | import javax.servlet.ServletContext; 6 | import javax.websocket.Session; 7 | 8 | import org.apache.struts2.ServletActionContext; 9 | 10 | import com.opensymphony.xwork2.ActionContext; 11 | import com.opensymphony.xwork2.ActionInvocation; 12 | import com.opensymphony.xwork2.interceptor.Interceptor; 13 | import com.opensymphony.xwork2.interceptor.MethodFilterInterceptor; 14 | 15 | public class CheckSessionInterceptor extends MethodFilterInterceptor{ 16 | 17 | @Override 18 | protected String doIntercept(ActionInvocation invocation) throws Exception { 19 | if(ActionContext.getContext().getSession().get("stu_user")==null 20 | &&ActionContext.getContext().getSession().get("tea_user")==null 21 | &&ActionContext.getContext().getSession().get("admin_user")==null){ 22 | 23 | return "wrong"; 24 | } 25 | 26 | return invocation.invoke(); 27 | } 28 | 29 | 30 | 31 | } 32 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/utils/MD5.java: -------------------------------------------------------------------------------- 1 | package edson.utils; 2 | 3 | import java.math.BigInteger; 4 | import java.security.MessageDigest; 5 | 6 | import org.junit.Test; 7 | 8 | public class MD5 { 9 | public static String getMD5(String str) throws Exception { 10 | try { 11 | // 生成一个MD5加密计算摘要 12 | MessageDigest md = MessageDigest.getInstance("MD5"); 13 | // 计算md5函数 14 | md.update(str.getBytes()); 15 | // digest()最后确定返回md5 hash值,返回值为8为字符串。因为md5 hash值是16位的hex值,实际上就是8位的字符 16 | // BigInteger函数则将8位的字符串转换成16位hex值,用字符串来表示;得到字符串形式的hash值 17 | return new BigInteger(1, md.digest()).toString(16); 18 | } catch (Exception e) { 19 | e.printStackTrace(); 20 | throw new Exception("服务器出现错误,请稍候尝试"); 21 | } 22 | } 23 | @Test 24 | public void test() throws Exception{//3b3693121f0e1ae66d6e4308bae82dd2 25 | // for(int i=36;i<70;i++) 26 | // System.out.println(MD5.getMD5("15111140"+i)); 27 | System.out.println(MD5.getMD5("123456")); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/utils/MyInterceptor.java: -------------------------------------------------------------------------------- 1 | package edson.utils; 2 | 3 | import java.util.Date; 4 | 5 | import javax.servlet.ServletContext; 6 | import javax.servlet.http.HttpServletRequest; 7 | import javax.servlet.http.HttpServletResponse; 8 | 9 | import org.apache.struts2.ServletActionContext; 10 | 11 | import com.opensymphony.xwork2.ActionContext; 12 | import com.opensymphony.xwork2.ActionInvocation; 13 | import com.opensymphony.xwork2.ActionSupport; 14 | import com.opensymphony.xwork2.interceptor.MethodFilterInterceptor; 15 | 16 | /** 17 | * 选课是否开始或进行中 18 | * @author Administrator 19 | * 20 | */ 21 | public class MyInterceptor extends MethodFilterInterceptor { 22 | 23 | @Override 24 | protected String doIntercept(ActionInvocation invocation) throws Exception { 25 | 26 | ServletContext ctx=ServletActionContext.getServletContext(); 27 | Date startDate=(Date) ctx.getAttribute("startDate"); 28 | Date endDate=(Date) ctx.getAttribute("endDate"); 29 | Date nowDate=new Date(); 30 | 31 | if(startDate!=null && endDate!=null && nowDate.getTime()>startDate.getTime() && nowDate.getTime(){ 6 | 7 | private int currentPage;//当前页面 8 | private int totalPage;//总页数 9 | private int totalRecord;//总记录数 10 | private List pageData;//需查询的数据 11 | private String path;//记住分页提交的路径 12 | 13 | 14 | 15 | public PageBean(Integer currentPage, 16 | Integer totalRecord, List pageData) { 17 | super(); 18 | this.currentPage = currentPage; 19 | this.totalPage = (int) Math.ceil(totalRecord/6.0);//每页显示6条记录 20 | this.totalRecord = totalRecord; 21 | this.pageData = pageData; 22 | 23 | } 24 | 25 | 26 | 27 | public final Integer getCurrentPage() { 28 | return currentPage; 29 | } 30 | public final void setCurrentPage(Integer currentPage) { 31 | this.currentPage = currentPage; 32 | } 33 | public final Integer getTotalPage() { 34 | return totalPage; 35 | } 36 | public final void setTotalPage(Integer totalPage) { 37 | this.totalPage = totalPage; 38 | } 39 | public final Integer getTotalRecord() { 40 | return totalRecord; 41 | } 42 | public final void setTotalRecord(Integer totalRecord) { 43 | this.totalRecord = totalRecord; 44 | } 45 | public final List getPageData() { 46 | return pageData; 47 | } 48 | public final void setPageData(List pageData) { 49 | this.pageData = pageData; 50 | } 51 | public PageBean() { 52 | super(); 53 | // TODO Auto-generated constructor stub 54 | } 55 | 56 | 57 | 58 | public final String getPath() { 59 | return path; 60 | } 61 | 62 | 63 | 64 | public final void setPath(String path) { 65 | this.path = path; 66 | } 67 | 68 | 69 | 70 | 71 | } 72 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/web/AdminCourseAction.java: -------------------------------------------------------------------------------- 1 | package edson.web; 2 | 3 | import java.util.List; 4 | 5 | import org.apache.struts2.ServletActionContext; 6 | 7 | import com.opensymphony.xwork2.ActionContext; 8 | import com.opensymphony.xwork2.ActionSupport; 9 | import com.opensymphony.xwork2.ModelDriven; 10 | 11 | import edson.bean.Course; 12 | import edson.bean.Teacher; 13 | import edson.business.serviceImpl.AdminService; 14 | import edson.utils.PageBean; 15 | 16 | public class AdminCourseAction extends ActionSupport implements ModelDriven{ 17 | 18 | private Course course=new Course(); 19 | public AdminService adminService; 20 | private PageBean pb; 21 | private Integer num;//页码 22 | private String t_c_id;//教师编号 23 | private Teacher tea; 24 | 25 | //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++课程+++++++++++++++++ 26 | 27 | public String addCourseUI(){ 28 | List teas=adminService.findAllTeacher(); 29 | ActionContext.getContext().getSession().put("teas", teas); 30 | return "success_addCourse"; 31 | } 32 | 33 | public String addCourse(){ 34 | try{ 35 | if(course.getCourse_id().trim()=="")return "error";//后台校验 36 | adminService.save(course); 37 | this.addActionError("添加成功"); 38 | return "success_addCourse"; 39 | }catch(Exception e){ 40 | e.printStackTrace(); 41 | this.addActionError("操作失败,请稍候尝试!"); 42 | return "error"; 43 | } 44 | } 45 | 46 | public String findPageCourse(){ 47 | if(num==null)num=1; 48 | pb=adminService.findPageCourse(num); 49 | pb.setPath("/adminCourse_findPageCourse"); 50 | ActionContext.getContext().getSession().put("pb", pb); 51 | return "success_findPageCourse"; 52 | } 53 | 54 | public String searchCourseById(){ 55 | 56 | if(course.getCourse_id()==null || course.getCourse_id().trim()==""){ 57 | this.addActionError("操作失败,请稍候尝试!"); 58 | return "error"; 59 | } 60 | 61 | pb=adminService.searchCourseById(course.getCourse_id().trim()); 62 | pb.setPath("/adminCourse_searchCourseById"); 63 | ActionContext.getContext().getSession().put("pb", pb); 64 | 65 | return "success_findPageCourse"; 66 | } 67 | 68 | public String searchCourseByName(){ 69 | 70 | if(course.getCourse_name()==null || course.getCourse_name().trim()==""){ 71 | this.addActionError("操作失败,请稍候尝试!"); 72 | return "error"; 73 | } 74 | 75 | if(num==null)num=1; 76 | pb=adminService.searchCourseByName(course.getCourse_name().trim(),num); 77 | pb.setPath("/adminCourse_searchCourseByName"); 78 | ActionContext.getContext().getSession().put("pb", pb); 79 | 80 | return "success_findPageCourse"; 81 | } 82 | 83 | public String updateCourseUI(){ 84 | 85 | pb=adminService.searchCourseById(course.getCourse_id()); 86 | ServletActionContext.getRequest().setAttribute("course", pb.getPageData().get(0)); 87 | List teas=adminService.findAllTeacher(); 88 | ActionContext.getContext().getSession().put("teas", teas); 89 | 90 | return "success_addCourse"; 91 | 92 | } 93 | 94 | public String updateCourse(){ 95 | 96 | try{ 97 | tea=(Teacher) adminService.searchTeaById(course.getTea().getTea_id()).getPageData().get(0); 98 | 99 | //使数据库中未更改的字段保持一致 100 | Course c=(Course) adminService.searchCourseById(course.getCourse_id()).getPageData().get(0); 101 | course.setCapacity(c.getCapacity()); 102 | course.setIs_on(c.getIs_on()); 103 | course.setIs_selection(c.getIs_selection()); 104 | course.setSelection_taken(c.getSelection_taken()); 105 | course.setStudents(c.getStudents()); 106 | 107 | course.setTea(tea); 108 | adminService.updateCourse(course); 109 | this.addActionError("修改成功"); 110 | return "success_updateCourse"; 111 | }catch(Exception e){ 112 | e.printStackTrace(); 113 | this.addActionError("操作失败,请稍候尝试!"); 114 | return "error"; 115 | } 116 | 117 | } 118 | 119 | public String deleteCourse(){ 120 | 121 | try{ 122 | adminService.deleteCourse(course); 123 | this.addActionError("已删除"); 124 | return "success_updateCourse"; 125 | }catch(Exception e){ 126 | e.printStackTrace(); 127 | this.addActionError("操作失败,请稍候尝试!"); 128 | return "error"; 129 | } 130 | 131 | } 132 | 133 | @Override 134 | public Course getModel() { 135 | 136 | return course; 137 | } 138 | 139 | public void setcourse(Course course) { 140 | this.course = course; 141 | } 142 | 143 | public void setAdminService(AdminService adminService) { 144 | this.adminService = adminService; 145 | } 146 | 147 | public void setPb(PageBean pb) { 148 | this.pb = pb; 149 | } 150 | 151 | public void setNum(Integer num) { 152 | this.num = num; 153 | } 154 | 155 | public void setT_c_id(String t_c_id) { 156 | this.t_c_id = t_c_id; 157 | } 158 | 159 | 160 | 161 | 162 | 163 | 164 | } 165 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/web/AdminTeaAction.java: -------------------------------------------------------------------------------- 1 | package edson.web; 2 | 3 | import org.apache.struts2.ServletActionContext; 4 | 5 | import com.opensymphony.xwork2.ActionContext; 6 | import com.opensymphony.xwork2.ActionSupport; 7 | import com.opensymphony.xwork2.ModelDriven; 8 | 9 | import edson.bean.Admin; 10 | import edson.bean.Student; 11 | import edson.bean.Teacher; 12 | import edson.business.serviceImpl.AdminService; 13 | import edson.utils.MD5; 14 | import edson.utils.PageBean; 15 | /** 16 | * 后台教师页面 17 | * @author Administrator 18 | * 19 | */ 20 | public class AdminTeaAction extends ActionSupport implements ModelDriven{ 21 | 22 | private Teacher tea=new Teacher(); 23 | public AdminService adminService; 24 | private PageBean pb; 25 | private Integer num;//页码 26 | 27 | //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++教师+++++++++++++++++ 28 | public String addTeacher(){ 29 | try{ 30 | if(tea.getTea_id().trim()=="")return "error";//后台校验 31 | tea.setTea_pwd(MD5.getMD5(tea.getTea_pwd())); 32 | adminService.save(tea); 33 | this.addActionError("添加成功"); 34 | return "success_addTeacher"; 35 | }catch(Exception e){ 36 | e.printStackTrace(); 37 | this.addActionError("操作失败,请稍候尝试!"); 38 | return "error"; 39 | } 40 | } 41 | 42 | public String findPageTeacher(){ 43 | if(num==null)num=1; 44 | pb=adminService.findPageTeacher(num); 45 | pb.setPath("/adminTea_findPageTeacher"); 46 | ActionContext.getContext().getSession().put("pb", pb); 47 | return "success_findPageTeacher"; 48 | } 49 | 50 | public String searchTeaById(){ 51 | 52 | if(tea.getTea_id()==null || tea.getTea_id().trim()==""){ 53 | this.addActionError("操作失败,请稍候尝试!"); 54 | return "error"; 55 | } 56 | 57 | pb=adminService.searchTeaById(tea.getTea_id()); 58 | pb.setPath("/adminTea_searchTeaById"); 59 | ActionContext.getContext().getSession().put("pb", pb); 60 | 61 | return "success_findPageTeacher"; 62 | } 63 | 64 | public String searchTeaByName(){ 65 | 66 | if(tea.getTea_name()==null || tea.getTea_name().trim()==""){ 67 | this.addActionError("操作失败,请稍候尝试!"); 68 | return "error"; 69 | } 70 | 71 | if(num==null)num=1; 72 | pb=adminService.searchTeaByName(tea.getTea_name().trim(),num); 73 | pb.setPath("/adminTea_searchTeaByName"); 74 | ActionContext.getContext().getSession().put("pb", pb); 75 | 76 | return "success_findPageTeacher"; 77 | } 78 | 79 | public String updateTeacherUI(){ 80 | 81 | pb=adminService.searchTeaById(tea.getTea_id()); 82 | ServletActionContext.getRequest().setAttribute("tea", pb.getPageData().get(0)); 83 | 84 | return "success_addTeacher"; 85 | 86 | } 87 | 88 | public String updateTeacher(){ 89 | 90 | try{ 91 | Teacher t=(Teacher) adminService.searchTeaById(tea.getTea_id()).getPageData().get(0); 92 | tea.setCourses(t.getCourses()); 93 | tea.setTea_pwd(MD5.getMD5(tea.getTea_pwd())); 94 | adminService.updateTea(tea); 95 | 96 | this.addActionError("修改成功"); 97 | return "success_updateTeacher"; 98 | }catch(Exception e){ 99 | e.printStackTrace(); 100 | this.addActionError("操作失败,请稍候尝试!"); 101 | return "error"; 102 | } 103 | 104 | } 105 | 106 | public String deleteTeacher(){ 107 | 108 | try{ 109 | adminService.deleteTea(tea); 110 | this.addActionError("已删除"); 111 | return "success_updateTeacher"; 112 | }catch(Exception e){ 113 | e.printStackTrace(); 114 | this.addActionError("操作失败,请稍候尝试!"); 115 | return "error"; 116 | } 117 | 118 | } 119 | 120 | @Override 121 | public Teacher getModel() { 122 | 123 | return tea; 124 | } 125 | 126 | public void setTea(Teacher tea) { 127 | this.tea = tea; 128 | } 129 | 130 | public void setAdminService(AdminService adminService) { 131 | this.adminService = adminService; 132 | } 133 | 134 | public void setPb(PageBean pb) { 135 | this.pb = pb; 136 | } 137 | 138 | public void setNum(Integer num) { 139 | this.num = num; 140 | } 141 | 142 | 143 | 144 | } 145 | -------------------------------------------------------------------------------- /SelectionCourseSystem/src/edson/web/TeaAction.java: -------------------------------------------------------------------------------- 1 | package edson.web; 2 | 3 | import org.apache.struts2.ServletActionContext; 4 | 5 | import com.opensymphony.xwork2.ActionContext; 6 | import com.opensymphony.xwork2.ActionSupport; 7 | import com.opensymphony.xwork2.ModelDriven; 8 | 9 | import edson.bean.Course; 10 | import edson.bean.Student; 11 | import edson.bean.Teacher; 12 | import edson.business.serviceImpl.TeaService; 13 | import edson.utils.MD5; 14 | import edson.utils.PageBean; 15 | 16 | public class TeaAction extends ActionSupport implements ModelDriven{ 17 | 18 | 19 | public TeaService teaService; 20 | private PageBean pb; 21 | private Integer num; 22 | private Teacher tea=new Teacher(); 23 | private String pwd1; 24 | private String pwd2; 25 | 26 | public String viewMyCourse(){ 27 | try{ 28 | if(num==null)num=1; 29 | tea=(Teacher) ActionContext.getContext().getSession().get("tea_user"); 30 | 31 | pb=teaService.findMyCourse(num,tea.getTea_id()); 32 | pb.setPath("/tea_viewMyCourse"); 33 | ActionContext.getContext().getSession().put("pb", pb); 34 | return "success_viewMyCourse"; 35 | }catch(Exception e){ 36 | e.printStackTrace(); 37 | this.addActionError("操作失败,请稍候尝试!"); 38 | return "error"; 39 | } 40 | } 41 | /* 42 | * 查看开课信息 43 | */ 44 | public String viewMySelection(){ 45 | try{ 46 | if(num==null)num=1; 47 | tea=(Teacher) ActionContext.getContext().getSession().get("tea_user"); 48 | 49 | pb=teaService.findMySelection(num,tea.getTea_id()); 50 | pb.setPath("/tea_viewMySelection"); 51 | ActionContext.getContext().getSession().put("pb", pb); 52 | return "success_viewMySelection"; 53 | }catch(Exception e){ 54 | e.printStackTrace(); 55 | this.addActionError("操作失败,请稍候尝试!"); 56 | return "error"; 57 | } 58 | } 59 | 60 | public String viewTheStu(){ 61 | try{ 62 | if(num==null)num=1; 63 | String course_id=ServletActionContext.getRequest().getParameter("course_id"); 64 | pb=teaService.findCourseStudents(num,course_id); 65 | pb.setPath("/tea_viewTheStu?course_id="+course_id); 66 | ActionContext.getContext().getSession().put("pb", pb); 67 | return "success_viewTheStu"; 68 | }catch(Exception e){ 69 | e.printStackTrace(); 70 | this.addActionError("操作失败,请稍候尝试!"); 71 | return "error"; 72 | } 73 | 74 | } 75 | 76 | public String logOut(){ 77 | 78 | try{ 79 | ActionContext.getContext().getSession().remove("tea_user"); 80 | return "success_logOut"; 81 | }catch(Exception e){ 82 | e.printStackTrace(); 83 | this.addActionError("操作失败,请稍候尝试!"); 84 | return "error"; 85 | } 86 | 87 | 88 | } 89 | 90 | 91 | public String updatePwdUI(){ 92 | return "success_updatePwdUI"; 93 | } 94 | 95 | public String updatePwd(){ 96 | try{ 97 | if(pwd1==null || pwd2==null || !pwd1.equals(pwd2)){ 98 | 99 | return "error"; 100 | } 101 | tea=(Teacher) ActionContext.getContext().getSession().get("tea_user"); 102 | tea=teaService.findTeaById(tea.getTea_id()); 103 | tea.setTea_id(MD5.getMD5(pwd1)); 104 | teaService.updateTea(tea); 105 | return logOut(); 106 | 107 | }catch(Exception e){ 108 | e.printStackTrace(); 109 | this.addActionError("操作失败,请稍候尝试!"); 110 | return "error"; 111 | } 112 | 113 | } 114 | 115 | 116 | @Override 117 | public Teacher getModel() { 118 | // TODO Auto-generated method stub 119 | return tea; 120 | } 121 | 122 | public void setTeaService(TeaService teaService) { 123 | this.teaService = teaService; 124 | } 125 | 126 | public void setPb(PageBean pb) { 127 | this.pb = pb; 128 | } 129 | 130 | public void setNum(Integer num) { 131 | this.num = num; 132 | } 133 | 134 | 135 | 136 | public void setTea(Teacher tea) { 137 | this.tea = tea; 138 | } 139 | 140 | 141 | 142 | public void setPwd1(String pwd1) { 143 | this.pwd1 = pwd1; 144 | } 145 | 146 | public void setPwd2(String pwd2) { 147 | this.pwd2 = pwd2; 148 | } 149 | 150 | 151 | 152 | 153 | 154 | 155 | } --------------------------------------------------------------------------------