首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

Maven+ssm真正可以运行的项目

后端 3.71MB 16 需要积分: 1
立即下载

资源介绍:

ssm02工程,是用maven管理,是实现用户的登陆和注册以及修改密码,用户登录账号后,可以查看学生的列表,对学生的信息进行怎删改查!绝对可以运行,放心下载
package zizai.controller; import java.util.ArrayList; import java.util.List; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; import zizai.model.Student; import zizai.service.StudentService; @Controller @RequestMapping("/student") public class StudentController { @Resource private StudentService studentService; @RequestMapping("/addStu") public ModelAndView addStu(HttpServletRequest request, Model model) { String username = request.getParameter("name"); String age = request.getParameter("age"); String sex = request.getParameter("sex"); Student student = new Student(); student.setName(username); student.setAge(age); student.setSex(sex); int i = this.studentService.addStu(student); String url = "addStu"; if(i>0&&username!=null){ url="success"; } else{ url="addStu"; } ModelAndView view = new ModelAndView(url); return view; } @RequestMapping("/delStu") public ModelAndView delStu(HttpServletRequest request, Model model) { String id = request.getParameter("id"); int id1 = Integer.valueOf(id); int i = this.studentService.DelStu(id1); String url = "delStu"; ModelAndView view = new ModelAndView(url); return view; } @RequestMapping("/updateStu") public String updateStu(HttpServletRequest request,Model model){ int id=new Integer(request.getParameter("id")); String name=request.getParameter("name"); String age=request.getParameter("age"); String sex=request.getParameter("sex"); Student student=new Student(); student.setAge(age); student.setId(id); student.setName(name); student.setSex(sex); int i=this.studentService.updateStu(student); return "success"; } @RequestMapping("/selectStudentByID") public ModelAndView selectStudentByID(HttpServletRequest request,Model model){ int id = new Integer(request.getParameter("id")); Student student=this.studentService.selectStudentByID(id); ModelAndView view = new ModelAndView(); view.setViewName("updateStu"); view.addObject("student", student); return view; } @RequestMapping("/getAllStu") public ModelAndView getAllStu() { List students=new ArrayList(); students=this.studentService.getAllStu(); ModelAndView modelAndView = new ModelAndView(); modelAndView.setViewName("Studentlist"); modelAndView.addObject("xxx", students); return modelAndView; } @RequestMapping("/getStudentByName") public ModelAndView getStudentByName(HttpServletRequest request,Model model){ String name = request.getParameter("name"); List students = new ArrayList(); if (name!=null) { students=this.studentService.getStuByName(name); } ModelAndView view = new ModelAndView(); view.setViewName("getStudentByName"); view.addObject("xxx", students); return view; } @RequestMapping("/up") public String up(HttpServletRequest request,Model model){ return "Studentlist"; } }

资源文件列表:

ssm02.zip 大约有194个文件
  1. ssm02/.classpath 1.28KB
  2. ssm02/.project 1.19KB
  3. ssm02/.settings/.jsdtscope 639B
  4. ssm02/.settings/org.eclipse.core.resources.prefs 218B
  5. ssm02/.settings/org.eclipse.jdt.core.prefs 736B
  6. ssm02/.settings/org.eclipse.m2e.core.prefs 90B
  7. ssm02/.settings/org.eclipse.wst.common.component 740B
  8. ssm02/.settings/org.eclipse.wst.common.project.facet.core.xml 252B
  9. ssm02/.settings/org.eclipse.wst.jsdt.ui.superType.container 49B
  10. ssm02/.settings/org.eclipse.wst.jsdt.ui.superType.name 6B
  11. ssm02/.settings/org.eclipse.wst.validation.prefs 50B
  12. ssm02/pom.xml 6.25KB
  13. ssm02/src/main/java/zizai/controller/StudentController.java 3.21KB
  14. ssm02/src/main/java/zizai/controller/UserController.java 3.15KB
  15. ssm02/src/main/java/zizai/dao/StudentMapper.java 534B
  16. ssm02/src/main/java/zizai/dao/UserMapper.java 399B
  17. ssm02/src/main/java/zizai/mapping/StudentMapper.xml 3.23KB
  18. ssm02/src/main/java/zizai/mapping/UserMapper.xml 2.68KB
  19. ssm02/src/main/java/zizai/model/Student.java 771B
  20. ssm02/src/main/java/zizai/model/User.java 581B
  21. ssm02/src/main/java/zizai/service/StudentService.java 387B
  22. ssm02/src/main/java/zizai/service/UserService.java 247B
  23. ssm02/src/main/java/zizai/serviceImp/StudentServiceImp.java 1.24KB
  24. ssm02/src/main/java/zizai/serviceImp/UserServiceImp.java 841B
  25. ssm02/src/main/resources/jdbc.properties 281B
  26. ssm02/src/main/resources/log4j.properties 925B
  27. ssm02/src/main/resources/spring-mvc.xml 2.58KB
  28. ssm02/src/main/resources/spring-mybatis.xml 2.75KB
  29. ssm02/src/main/webapp/WEB-INF/jsp/Studentlist.jsp 1.49KB
  30. ssm02/src/main/webapp/WEB-INF/jsp/addStu.jsp 530B
  31. ssm02/src/main/webapp/WEB-INF/jsp/angular.min.js 152.22KB
  32. ssm02/src/main/webapp/WEB-INF/jsp/course_admin/file.jsp 565B
  33. ssm02/src/main/webapp/WEB-INF/jsp/course_admin/multifile.jsp 614B
  34. ssm02/src/main/webapp/WEB-INF/jsp/course_admin/success.jsp 397B
  35. ssm02/src/main/webapp/WEB-INF/jsp/course_overview.jsp 2.47KB
  36. ssm02/src/main/webapp/WEB-INF/jsp/delStu.jsp 526B
  37. ssm02/src/main/webapp/WEB-INF/jsp/fail.jsp 473B
  38. ssm02/src/main/webapp/WEB-INF/jsp/fail2.jsp 442B
  39. ssm02/src/main/webapp/WEB-INF/jsp/file.jsp 557B
  40. ssm02/src/main/webapp/WEB-INF/jsp/getStudentByName.jsp 1.01KB
  41. ssm02/src/main/webapp/WEB-INF/jsp/getUserByName.jsp 918B
  42. ssm02/src/main/webapp/WEB-INF/jsp/index.jsp 57B
  43. ssm02/src/main/webapp/WEB-INF/jsp/login.jsp 622B
  44. ssm02/src/main/webapp/WEB-INF/jsp/register.jsp 494B
  45. ssm02/src/main/webapp/WEB-INF/jsp/showUser.jsp 262B
  46. ssm02/src/main/webapp/WEB-INF/jsp/success.jsp 565B
  47. ssm02/src/main/webapp/WEB-INF/jsp/sucess.jsp 577B
  48. ssm02/src/main/webapp/WEB-INF/jsp/tables.jsp 3.61KB
  49. ssm02/src/main/webapp/WEB-INF/jsp/updateStu.jsp 750B
  50. ssm02/src/main/webapp/WEB-INF/jsp/updateUserPwd.jsp 699B
  51. ssm02/src/main/webapp/WEB-INF/web.xml 2.2KB
  52. ssm02/src/main/webapp/hello.html 187B
  53. ssm02/src/main/webapp/index.jsp 57B
  54. ssm02/src/main/webapp/register.jsp 494B
  55. ssm02/src/main/webapp/resources/angular.min.js 77.1KB
  56. ssm02/src/main/webapp/resources/bootstrap.min.css 120.53KB
  57. ssm02/src/main/webapp/resources/form.html 1.54KB
  58. ssm02/src/main/webapp/resources/form.jsp
  59. ssm02/src/main/webapp/resources/html/
  60. ssm02/src/main/webapp/resources/matrix-admin00/buttons.html 31.62KB
  61. ssm02/src/main/webapp/resources/matrix-admin00/calendar.html 8KB
  62. ssm02/src/main/webapp/resources/matrix-admin00/charts.html 15KB
  63. ssm02/src/main/webapp/resources/matrix-admin00/chat.html 7.72KB
  64. ssm02/src/main/webapp/resources/matrix-admin00/css/bootstrap-responsive.min.css 16.45KB
  65. ssm02/src/main/webapp/resources/matrix-admin00/css/bootstrap-wysihtml5.css 2.28KB
  66. ssm02/src/main/webapp/resources/matrix-admin00/css/bootstrap.min.css 105.6KB
  67. ssm02/src/main/webapp/resources/matrix-admin00/css/colorpicker.css 2.03KB
  68. ssm02/src/main/webapp/resources/matrix-admin00/css/datepicker.css 3.34KB
  69. ssm02/src/main/webapp/resources/matrix-admin00/css/fullcalendar.css 8.19KB
  70. ssm02/src/main/webapp/resources/matrix-admin00/css/jquery.gritter.css 1.56KB
  71. ssm02/src/main/webapp/resources/matrix-admin00/css/matrix-login.css 3.74KB
  72. ssm02/src/main/webapp/resources/matrix-admin00/css/matrix-media.css 2.77KB
  73. ssm02/src/main/webapp/resources/matrix-admin00/css/matrix-style.css 31.9KB
  74. ssm02/src/main/webapp/resources/matrix-admin00/css/select2.css 14.49KB
  75. ssm02/src/main/webapp/resources/matrix-admin00/css/uniform.css 9.64KB
  76. ssm02/src/main/webapp/resources/matrix-admin00/dashboard.html 9.05KB
  77. ssm02/src/main/webapp/resources/matrix-admin00/error403.html 6.43KB
  78. ssm02/src/main/webapp/resources/matrix-admin00/error404.html 6.44KB
  79. ssm02/src/main/webapp/resources/matrix-admin00/error405.html 6.45KB
  80. ssm02/src/main/webapp/resources/matrix-admin00/error500.html 6.45KB
  81. ssm02/src/main/webapp/resources/matrix-admin00/font-awesome/css/Descr.WD3 104B
  82. ssm02/src/main/webapp/resources/matrix-admin00/font-awesome/css/font-awesome.css 19.1KB
  83. ssm02/src/main/webapp/resources/matrix-admin00/font-awesome/font/Descr.WD3 446B
  84. ssm02/src/main/webapp/resources/matrix-admin00/font-awesome/font/fontawesome-webfont.eot 24.8KB
  85. ssm02/src/main/webapp/resources/matrix-admin00/font-awesome/font/fontawesome-webfont.eot@ 24.8KB
  86. ssm02/src/main/webapp/resources/matrix-admin00/font-awesome/font/fontawesome-webfont.ttf 53.8KB
  87. ssm02/src/main/webapp/resources/matrix-admin00/font-awesome/font/fontawesome-webfont.woff 28.69KB
  88. ssm02/src/main/webapp/resources/matrix-admin00/form-common.html 25.91KB
  89. ssm02/src/main/webapp/resources/matrix-admin00/form-validation.html 10.35KB
  90. ssm02/src/main/webapp/resources/matrix-admin00/form-wizard.html 8.21KB
  91. ssm02/src/main/webapp/resources/matrix-admin00/gallery.html 18.47KB
  92. ssm02/src/main/webapp/resources/matrix-admin00/grid.html 14.64KB
  93. ssm02/src/main/webapp/resources/matrix-admin00/images/backgrounds/Descr.WD3 217B
  94. ssm02/src/main/webapp/resources/matrix-admin00/images/backgrounds/blank2 2.56MB
  95. ssm02/src/main/webapp/resources/matrix-admin00/images/backgrounds/calActiveBg.html 8.83KB
  96. ssm02/src/main/webapp/resources/matrix-admin00/images/backgrounds/skype_3Asuniljoshi19@call 8.83KB
  97. ssm02/src/main/webapp/resources/matrix-admin00/images/gallery/imgbox3.html 9.05KB
  98. ssm02/src/main/webapp/resources/matrix-admin00/img/Descr.WD3 1.27KB
  99. ssm02/src/main/webapp/resources/matrix-admin00/img/alpha.html 9.05KB
  100. ssm02/src/main/webapp/resources/matrix-admin00/img/breadcrumb.png 1.09KB
  101. ssm02/src/main/webapp/resources/matrix-admin00/img/demo/Descr.WD3 784B
  102. ssm02/src/main/webapp/resources/matrix-admin00/img/demo/av1.jpg 2.06KB
  103. ssm02/src/main/webapp/resources/matrix-admin00/img/demo/av2.jpg 1.76KB
  104. ssm02/src/main/webapp/resources/matrix-admin00/img/demo/av3.jpg 2.08KB
  105. ssm02/src/main/webapp/resources/matrix-admin00/img/demo/av4.jpg 1.43KB
  106. ssm02/src/main/webapp/resources/matrix-admin00/img/demo/av5.jpg 1.63KB
  107. ssm02/src/main/webapp/resources/matrix-admin00/img/demo/demo-image1.jpg 54.68KB
  108. ssm02/src/main/webapp/resources/matrix-admin00/img/demo/demo-image2.jpg 69.68KB
  109. ssm02/src/main/webapp/resources/matrix-admin00/img/demo/demo-image3.jpg 47.53KB
  110. ssm02/src/main/webapp/resources/matrix-admin00/img/demo/envelope.png 924B
  111. ssm02/src/main/webapp/resources/matrix-admin00/img/gallery/Descr.WD3 495B
  112. ssm02/src/main/webapp/resources/matrix-admin00/img/gallery/imgbox1.jpg 28.12KB
  113. ssm02/src/main/webapp/resources/matrix-admin00/img/gallery/imgbox2.jpg 23.11KB
  114. ssm02/src/main/webapp/resources/matrix-admin00/img/gallery/imgbox3.jpg 44.73KB
  115. ssm02/src/main/webapp/resources/matrix-admin00/img/gallery/imgbox4.jpg 47.11KB
  116. ssm02/src/main/webapp/resources/matrix-admin00/img/gallery/imgbox5.jpg 56.29KB
  117. ssm02/src/main/webapp/resources/matrix-admin00/img/glyphicons-halflings-white.png 8.57KB
  118. ssm02/src/main/webapp/resources/matrix-admin00/img/glyphicons-halflings.html 9.05KB
  119. ssm02/src/main/webapp/resources/matrix-admin00/img/gritter.png 3KB
  120. ssm02/src/main/webapp/resources/matrix-admin00/img/hue.png 2.87KB
  121. ssm02/src/main/webapp/resources/matrix-admin00/img/larrow.png 1.17KB
  122. ssm02/src/main/webapp/resources/matrix-admin00/img/line.png 1.03KB
  123. ssm02/src/main/webapp/resources/matrix-admin00/img/logo.png 1.3KB
  124. ssm02/src/main/webapp/resources/matrix-admin00/img/menu-active.png 1.12KB
  125. ssm02/src/main/webapp/resources/matrix-admin00/img/rarrow.png 1.16KB
  126. ssm02/src/main/webapp/resources/matrix-admin00/img/saturation.png 9.76KB
  127. ssm02/src/main/webapp/resources/matrix-admin00/img/select2.png 1.07KB
  128. ssm02/src/main/webapp/resources/matrix-admin00/img/spinner.gif 1.81KB
  129. ssm02/src/main/webapp/resources/matrix-admin00/img/sprite.png 44.62KB
  130. ssm02/src/main/webapp/resources/matrix-admin00/index.html 25.25KB
  131. ssm02/src/main/webapp/resources/matrix-admin00/index2.html 17.59KB
  132. ssm02/src/main/webapp/resources/matrix-admin00/interface.html 26.42KB
  133. ssm02/src/main/webapp/resources/matrix-admin00/invoice.html 11.93KB
  134. ssm02/src/main/webapp/resources/matrix-admin00/js/bootstrap-colorpicker.js 13.04KB
  135. ssm02/src/main/webapp/resources/matrix-admin00/js/bootstrap-datepicker.js 12.87KB
  136. ssm02/src/main/webapp/resources/matrix-admin00/js/bootstrap-wysihtml5.js 20.62KB
  137. ssm02/src/main/webapp/resources/matrix-admin00/js/bootstrap.min.js 25.14KB
  138. ssm02/src/main/webapp/resources/matrix-admin00/js/excanvas.min.js 18.96KB
  139. ssm02/src/main/webapp/resources/matrix-admin00/js/fullcalendar.min.js 48.34KB
  140. ssm02/src/main/webapp/resources/matrix-admin00/js/jquery.dataTables.min.js 380.48KB
  141. ssm02/src/main/webapp/resources/matrix-admin00/js/jquery.flot.min.js 36.69KB
  142. ssm02/src/main/webapp/resources/matrix-admin00/js/jquery.flot.pie.min.js 8.65KB
  143. ssm02/src/main/webapp/resources/matrix-admin00/js/jquery.flot.resize.min.js 1.21KB
  144. ssm02/src/main/webapp/resources/matrix-admin00/js/jquery.gritter.min.js 4.14KB
  145. ssm02/src/main/webapp/resources/matrix-admin00/js/jquery.min.js 92.62KB
  146. ssm02/src/main/webapp/resources/matrix-admin00/js/jquery.peity.min.js 2.44KB
  147. ssm02/src/main/webapp/resources/matrix-admin00/js/jquery.toggle.buttons.html 9.05KB
  148. ssm02/src/main/webapp/resources/matrix-admin00/js/jquery.ui.custom.js 193.8KB
  149. ssm02/src/main/webapp/resources/matrix-admin00/js/jquery.uniform.js 19.78KB
  150. ssm02/src/main/webapp/resources/matrix-admin00/js/jquery.validate.js 37.37KB
  151. ssm02/src/main/webapp/resources/matrix-admin00/js/jquery.wizard.js 13.69KB
  152. ssm02/src/main/webapp/resources/matrix-admin00/js/maruti.html 9.05KB
  153. ssm02/src/main/webapp/resources/matrix-admin00/js/masked.js 3.27KB
  154. ssm02/src/main/webapp/resources/matrix-admin00/js/matrix.calendar.js 3.46KB
  155. ssm02/src/main/webapp/resources/matrix-admin00/js/matrix.charts.js 3.1KB
  156. ssm02/src/main/webapp/resources/matrix-admin00/js/matrix.chat.js 2.31KB
  157. ssm02/src/main/webapp/resources/matrix-admin00/js/matrix.dashboard.js 3.74KB
  158. ssm02/src/main/webapp/resources/matrix-admin00/js/matrix.form_common.js 6.74KB
  159. ssm02/src/main/webapp/resources/matrix-admin00/js/matrix.form_validation.js 1.93KB
  160. ssm02/src/main/webapp/resources/matrix-admin00/js/matrix.interface.js 1.61KB
  161. ssm02/src/main/webapp/resources/matrix-admin00/js/matrix.js 4.09KB
  162. ssm02/src/main/webapp/resources/matrix-admin00/js/matrix.login.js 1.02KB
  163. ssm02/src/main/webapp/resources/matrix-admin00/js/matrix.popover.js 1.84KB
  164. ssm02/src/main/webapp/resources/matrix-admin00/js/matrix.tables.js 753B
  165. ssm02/src/main/webapp/resources/matrix-admin00/js/matrix.wizard.js 1.37KB
  166. ssm02/src/main/webapp/resources/matrix-admin00/js/select2.min.js 34.62KB
  167. ssm02/src/main/webapp/resources/matrix-admin00/js/wysihtml5-0.3.0.js 333.64KB
  168. ssm02/src/main/webapp/resources/matrix-admin00/login.html 2.79KB
  169. ssm02/src/main/webapp/resources/matrix-admin00/tables.html 26.37KB
  170. ssm02/src/main/webapp/resources/matrix-admin00/widgets.html 24.96KB
  171. ssm02/src/main/webapp/updateStu.jsp 750B
  172. ssm02/src/test/java/
  173. ssm02/target/classes/jdbc.properties 281B
  174. ssm02/target/classes/log4j.properties 925B
  175. ssm02/target/classes/spring-mvc.xml 2.58KB
  176. ssm02/target/classes/spring-mybatis.xml 2.75KB
  177. ssm02/target/classes/zizai/controller/StudentController.class 3.97KB
  178. ssm02/target/classes/zizai/controller/UserController.class 3.9KB
  179. ssm02/target/classes/zizai/dao/StudentMapper.class 527B
  180. ssm02/target/classes/zizai/dao/UserMapper.class 464B
  181. ssm02/target/classes/zizai/mapping/StudentMapper.xml 3.23KB
  182. ssm02/target/classes/zizai/mapping/UserMapper.xml 2.68KB
  183. ssm02/target/classes/zizai/model/Student.class 1.28KB
  184. ssm02/target/classes/zizai/model/User.class 1.05KB
  185. ssm02/target/classes/zizai/service/StudentService.class 369B
  186. ssm02/target/classes/zizai/service/UserService.class 300B
  187. ssm02/target/classes/zizai/serviceImp/StudentServiceImp.class 1.48KB
  188. ssm02/target/classes/zizai/serviceImp/UserServiceImp.class 1.26KB
  189. ssm02/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF 108B
  190. ssm02/target/m2e-wtp/web-resources/META-INF/maven/com.zzty/ssm01/pom.properties 247B
  191. ssm02/target/m2e-wtp/web-resources/META-INF/maven/com.zzty/ssm01/pom.xml 6.25KB
  192. ssm02/target/m2e-wtp/web-resources/META-INF/maven/com.zzty/ssm02/pom.properties 247B
  193. ssm02/target/m2e-wtp/web-resources/META-INF/maven/com.zzty/ssm02/pom.xml 721B
  194. ssm02/target/test-classes/
0评论
提交 加载更多评论
其他资源 Asp.net实现作业提交系统(SQL2005)
基于ASP.net + sql2005开发的作业提交系统 方便学生通过网络提交作业,老师可在家你下载作业并进行评阅
Ant权威指南(第2版)
Ant权威指南(第2版)
httpwatch 7.0.23 带license 有效期1年
之前httpwatch6.1.41的破解不能支持Firefox3.6,而6.2的版本始终找不到破解用,一定让很多人郁闷吧 现在福音来了,直接上httpwatch7吧^_^ 下载了如果好用给个回复顶一下,同时可以帮你把消耗的分补回来:)
数据结构java版
数据结构java版
pdg格式
2024北森题库(含答案)
#2024北森题库#北森题库#北森题库(含答案)
2024北森题库(含答案) 2024北森题库(含答案) 2024北森题库(含答案)
charles3.6.5破解文件 for mac, linux
charles3.6.5破解文件 for mac, linux charles最新破解,破解说明看压缩包中的readme.txt
powershell plus
powershell的开发环境
iOS 获取汉字首字母
iOS 获取汉字首字母