SSH框架搭建成功例子(注解方式,Struts2自身创建Action)

上传者: smileyan9 | 上传时间: 2019-12-21 21:08:33 | 文件大小: 16.51MB | 文件类型: 7z
做这个东西居然花了不少时间,也折腾了不少时间——尽管这并不是一个复杂的东西。 环境:jdk1.8 tomcat8.5 mysql Eclipse 使用的是注解的方式完成的,因为注解的方式可以减少一些配置文件,比较方便的。 【特别强调】一定要清楚如何调试项目,因为自己的环境和下载的资源的环境可能不一样,需要修改配置文件或是其他才能正常运行。https://blog.csdn.net/smileyan9/article/details/80522536

文件下载

资源详情

[{"title":"( 81 个子文件 16.51MB ) SSH框架搭建成功例子(注解方式,Struts2自身创建Action)","children":[{"title":"SSH框架注解方式,Struts自身创建Action","children":[{"title":"ssh_demo","children":[{"title":".springBeans <span style='color:#111;'> 434B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"cn","children":[{"title":"smileyan","children":[{"title":"dao","children":[{"title":"impl","children":[{"title":"UserDaoImpl.java <span style='color:#111;'> 953B </span>","children":null,"spread":false}],"spread":true},{"title":"UserDao.java <span style='color:#111;'> 292B </span>","children":null,"spread":false}],"spread":true},{"title":"domain","children":[{"title":"User.java <span style='color:#111;'> 903B </span>","children":null,"spread":false}],"spread":true},{"title":"action","children":[{"title":"UserAction.java <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"UserService.java <span style='color:#111;'> 320B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"UserServiceImpl.java <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"TestApp.java <span style='color:#111;'> 712B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 4.07KB </span>","children":null,"spread":false},{"title":"build","children":[{"title":"classes","children":[{"title":"c3p0-db.properties <span style='color:#111;'> 116B </span>","children":null,"spread":false},{"title":"applicationContext.xml <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"cn","children":[{"title":"smileyan","children":[{"title":"dao","children":[{"title":"impl","children":[{"title":"UserDaoImpl.class <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false}],"spread":true},{"title":"UserDao.class <span style='color:#111;'> 366B </span>","children":null,"spread":false}],"spread":true},{"title":"domain","children":[{"title":"User.class <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"action","children":[{"title":"UserAction.class <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"UserService.class <span style='color:#111;'> 398B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"UserServiceImpl.class <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"test","children":[{"title":"TestApp.class <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"struts.xml <span style='color:#111;'> 584B </span>","children":null,"spread":false},{"title":"log4j.properties <span style='color:#111;'> 662B </span>","children":null,"spread":false},{"title":"hibernate.cfg.xml <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 345B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 57B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 529B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 395B </span>","children":null,"spread":false}],"spread":true},{"title":"WebContent","children":[{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true},{"title":"index.jsp <span style='color:#111;'> 619B </span>","children":null,"spread":false},{"title":"success.jsp <span style='color:#111;'> 360B </span>","children":null,"spread":false},{"title":"WEB-INF","children":[{"title":"lib","children":[{"title":"javassist-3.12.0.GA.jar <span style='color:#111;'> 618.47KB </span>","children":null,"spread":false},{"title":"spring-jdbc-3.2.2.RELEASE.jar <span style='color:#111;'> 395.58KB </span>","children":null,"spread":false},{"title":"slf4j-api-1.6.1.jar <span style='color:#111;'> 24.90KB </span>","children":null,"spread":false},{"title":"log4j-core-2.2.jar <span style='color:#111;'> 807.36KB </span>","children":null,"spread":false},{"title":"struts2-core-2.3.24.jar <span style='color:#111;'> 812.47KB </span>","children":null,"spread":false},{"title":"spring-beans-3.2.2.RELEASE.jar <span style='color:#111;'> 593.21KB </span>","children":null,"spread":false},{"title":"commons-lang3-3.2.jar <span style='color:#111;'> 375.75KB </span>","children":null,"spread":false},{"title":"spring-tx-3.2.2.RELEASE.jar <span style='color:#111;'> 236.50KB </span>","children":null,"spread":false},{"title":"spring-test-3.2.2.RELEASE.jar <span style='color:#111;'> 445.45KB </span>","children":null,"spread":false},{"title":"spring-web-3.2.2.RELEASE.jar <span style='color:#111;'> 611.51KB </span>","children":null,"spread":false},{"title":"dom4j-1.6.1.jar <span style='color:#111;'> 306.54KB </span>","children":null,"spread":false},{"title":"c3p0-0.9.1.jar <span style='color:#111;'> 594.12KB </span>","children":null,"spread":false},{"title":"asm-tree-3.3.jar <span style='color:#111;'> 21.00KB </span>","children":null,"spread":false},{"title":"slf4j-log4j12-1.7.12.jar <span style='color:#111;'> 8.65KB </span>","children":null,"spread":false},{"title":"struts2-convention-plugin-2.3.24.jar <span style='color:#111;'> 65.94KB </span>","children":null,"spread":false},{"title":"spring-expression-3.2.2.RELEASE.jar <span style='color:#111;'> 190.88KB </span>","children":null,"spread":false},{"title":"hibernate3.jar <span style='color:#111;'> 3.97MB </span>","children":null,"spread":false},{"title":"asm-3.3.jar <span style='color:#111;'> 42.56KB </span>","children":null,"spread":false},{"title":"hibernate-jpa-2.0-api-1.0.1.Final.jar <span style='color:#111;'> 100.25KB </span>","children":null,"spread":false},{"title":"xwork-core-2.3.24.jar <span style='color:#111;'> 660.91KB </span>","children":null,"spread":false},{"title":"com.springsource.org.aopalliance-1.0.0.jar <span style='color:#111;'> 4.51KB </span>","children":null,"spread":false},{"title":"commons-fileupload-1.3.1.jar <span style='color:#111;'> 67.38KB </span>","children":null,"spread":false},{"title":"antlr-2.7.6.jar <span style='color:#111;'> 433.04KB </span>","children":null,"spread":false},{"title":"commons-logging-1.2.jar <span style='color:#111;'> 60.38KB </span>","children":null,"spread":false},{"title":"asm-commons-3.3.jar <span style='color:#111;'> 37.38KB </span>","children":null,"spread":false},{"title":"commons-io-2.2.jar <span style='color:#111;'> 169.52KB </span>","children":null,"spread":false},{"title":"log4j-api-2.2.jar <span style='color:#111;'> 130.39KB </span>","children":null,"spread":false},{"title":"spring-core-3.2.2.RELEASE.jar <span style='color:#111;'> 846.47KB </span>","children":null,"spread":false},{"title":"log4j-1.2.17.jar <span style='color:#111;'> 478.40KB </span>","children":null,"spread":false},{"title":"mysql-connector-java-5.0.8-bin.jar <span style='color:#111;'> 528.18KB </span>","children":null,"spread":false},{"title":"spring-orm-3.2.2.RELEASE.jar <span style='color:#111;'> 378.05KB </span>","children":null,"spread":false},{"title":"commons-collections-3.1.jar <span style='color:#111;'> 546.26KB </span>","children":null,"spread":false},{"title":"com.springsource.com.mchange.v2.c3p0-0.9.1.2.jar <span style='color:#111;'> 603.17KB </span>","children":null,"spread":false},{"title":"struts2-spring-plugin-2.3.24.jar <span style='color:#111;'> 21.18KB </span>","children":null,"spread":false},{"title":"freemarker-2.3.22.jar <span style='color:#111;'> 1.24MB </span>","children":null,"spread":false},{"title":"ognl-3.0.6.jar <span style='color:#111;'> 222.65KB </span>","children":null,"spread":false},{"title":"spring-aop-3.2.2.RELEASE.jar <span style='color:#111;'> 327.50KB </span>","children":null,"spread":false},{"title":"com.springsource.org.aspectj.weaver-1.6.8.RELEASE.jar <span style='color:#111;'> 1.57MB </span>","children":null,"spread":false},{"title":"jta-1.1.jar <span style='color:#111;'> 10.64KB </span>","children":null,"spread":false},{"title":"spring-context-3.2.2.RELEASE.jar <span style='color:#111;'> 841.70KB </span>","children":null,"spread":false},{"title":"spring-aspects-3.2.2.RELEASE.jar <span style='color:#111;'> 49.93KB </span>","children":null,"spread":false}],"spread":false},{"title":"web.xml <span style='color:#111;'> 904B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"config","children":[{"title":"c3p0-db.properties <span style='color:#111;'> 116B </span>","children":null,"spread":false},{"title":"applicationContext.xml <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"struts.xml <span style='color:#111;'> 584B </span>","children":null,"spread":false},{"title":"log4j.properties <span style='color:#111;'> 662B </span>","children":null,"spread":false},{"title":"hibernate.cfg.xml <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"ssh_test.sql <span style='color:#111;'> 822B </span>","children":null,"spread":false}],"spread":true},{"title":"readme.txt <span style='color:#111;'> 84B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明