SSH整合案例(个人博客)

上传者: zl_stepbystep | 上传时间: 2020-01-13 03:16:42 | 文件大小: 18.89MB | 文件类型: rar
用户可以选择登录,可以自行注册,登陆后,可以退出登录,再登别的账号(不关闭窗口,不回退,我所用到的是在用户登录后将user存入session域,点击退出登录之后就写一个方法,将session里的user置为空,这样退出后,用户只能再次登录)。在登录之后,才能看到的自己的博客,并且每个用户只能对自己的博客进行增删改查。即User与Blog之间是一对多的关系。

文件下载

资源详情

[{"title":"( 97 个子文件 18.89MB ) SSH整合案例(个人博客)","children":[{"title":"SSH01","children":[{"title":".project <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":".jsdtscope <span style='color:#111;'> 567B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 467B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 364B </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.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"zl","children":[{"title":"dao","children":[{"title":"IBlogDao.java <span style='color:#111;'> 404B </span>","children":null,"spread":false},{"title":"IUserDao.java <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"UserDaoImpl.java <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"BlogDaoImpl.java <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"HibernateTest.java <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false}],"spread":true},{"title":"action","children":[{"title":"UserAction.java <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"BlogAction.java <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"interceptor","children":[{"title":"PrivilegeInterceptor.java <span style='color:#111;'> 819B </span>","children":null,"spread":false}],"spread":true},{"title":"domain","children":[{"title":"User.java <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"User.hbm.xml <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":"Blog.java <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"blog.hbm.xml <span style='color:#111;'> 627B </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"IUserService.java <span style='color:#111;'> 260B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"UserServiceImpl.java <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"BlogServiceImpl.java <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"IBlogService.java <span style='color:#111;'> 464B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"db.properties <span style='color:#111;'> 109B </span>","children":null,"spread":false},{"title":"applicationContext.xml <span style='color:#111;'> 5.39KB </span>","children":null,"spread":false},{"title":"struts.xml <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false}],"spread":true},{"title":"build","children":[{"title":"classes","children":[{"title":"com","children":[{"title":"zl","children":[{"title":"dao","children":[{"title":"IUserDao.class <span style='color:#111;'> 216B </span>","children":null,"spread":false},{"title":"IBlogDao.class <span style='color:#111;'> 495B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"UserDaoImpl.class <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"UserDaoImpl$1.class <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"BlogDaoImpl.class <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"BlogDaoImpl$1.class <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"BlogDaoImpl$2.class <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"HibernateTest.class <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false}],"spread":true},{"title":"action","children":[{"title":"BlogAction.class <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"UserAction.class <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false}],"spread":true},{"title":"interceptor","children":[{"title":"PrivilegeInterceptor.class <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":true},{"title":"domain","children":[{"title":"Blog.class <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"User.class <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"User.hbm.xml <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":"blog.hbm.xml <span style='color:#111;'> 627B </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"IBlogService.class <span style='color:#111;'> 581B </span>","children":null,"spread":false},{"title":"IUserService.class <span style='color:#111;'> 356B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"UserServiceImpl.class <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"BlogServiceImpl.class <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"db.properties <span style='color:#111;'> 109B </span>","children":null,"spread":false},{"title":"applicationContext.xml <span style='color:#111;'> 5.39KB </span>","children":null,"spread":false},{"title":"struts.xml <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"WebContent","children":[{"title":"login.jsp <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"reference","children":null,"spread":false},{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"xwork-core-2.3.34.jar <span style='color:#111;'> 673.08KB </span>","children":null,"spread":false},{"title":"spring-aop-4.2.4.RELEASE.jar <span style='color:#111;'> 361.38KB </span>","children":null,"spread":false},{"title":"spring-orm-4.2.4.RELEASE.jar <span style='color:#111;'> 455.25KB </span>","children":null,"spread":false},{"title":"hibernate-entitymanager-5.0.7.Final.jar <span style='color:#111;'> 584.07KB </span>","children":null,"spread":false},{"title":"hibernate-jpa-2.1-api-1.0.0.Final.jar <span style='color:#111;'> 110.71KB </span>","children":null,"spread":false},{"title":"freemarker-2.3.22.jar <span style='color:#111;'> 1.24MB </span>","children":null,"spread":false},{"title":"spring-aspects-4.2.4.RELEASE.jar <span style='color:#111;'> 57.03KB </span>","children":null,"spread":false},{"title":"spring-beans-4.2.4.RELEASE.jar <span style='color:#111;'> 714.37KB </span>","children":null,"spread":false},{"title":"struts2-core-2.3.34.jar <span style='color:#111;'> 864.09KB </span>","children":null,"spread":false},{"title":"spring-web-4.2.4.RELEASE.jar <span style='color:#111;'> 749.35KB </span>","children":null,"spread":false},{"title":"ognl-3.0.21.jar <span style='color:#111;'> 225.04KB </span>","children":null,"spread":false},{"title":"asm-commons-3.3.jar <span style='color:#111;'> 37.38KB </span>","children":null,"spread":false},{"title":"log4j-api-2.3.jar <span style='color:#111;'> 132.72KB </span>","children":null,"spread":false},{"title":"commons-fileupload-1.3.2.jar <span style='color:#111;'> 68.63KB </span>","children":null,"spread":false},{"title":"mysql-connector-java-5.0.5-bin.jar <span style='color:#111;'> 500.69KB </span>","children":null,"spread":false},{"title":"spring-test-4.2.4.RELEASE.jar <span style='color:#111;'> 549.29KB </span>","children":null,"spread":false},{"title":"spring-core-4.2.4.RELEASE.jar <span style='color:#111;'> 1.03MB </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":"spring-context-4.2.4.RELEASE.jar <span style='color:#111;'> 1.05MB </span>","children":null,"spread":false},{"title":"jandex-2.0.0.Final.jar <span style='color:#111;'> 183.35KB </span>","children":null,"spread":false},{"title":"spring-jdbc-4.2.4.RELEASE.jar <span style='color:#111;'> 413.45KB </span>","children":null,"spread":false},{"title":"spring-expression-4.2.4.RELEASE.jar <span style='color:#111;'> 256.83KB </span>","children":null,"spread":false},{"title":"javassist-3.18.1-GA.jar <span style='color:#111;'> 697.46KB </span>","children":null,"spread":false},{"title":"antlr-2.7.7.jar <span style='color:#111;'> 434.85KB </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":"log4j-core-2.3.jar <span style='color:#111;'> 807.64KB </span>","children":null,"spread":false},{"title":"spring-tx-4.2.4.RELEASE.jar <span style='color:#111;'> 259.30KB </span>","children":null,"spread":false},{"title":"dom4j-1.6.1.jar <span style='color:#111;'> 306.54KB </span>","children":null,"spread":false},{"title":"jboss-logging-3.3.0.Final.jar <span style='color:#111;'> 65.24KB </span>","children":null,"spread":false},{"title":"struts2-spring-plugin-2.3.34.jar <span style='color:#111;'> 21.46KB </span>","children":null,"spread":false},{"title":"asm-tree-3.3.jar <span style='color:#111;'> 21.00KB </span>","children":null,"spread":false},{"title":"commons-io-2.2.jar <span style='color:#111;'> 169.52KB </span>","children":null,"spread":false},{"title":"com.springsource.org.apache.log4j-1.2.15.jar <span style='color:#111;'> 387.42KB </span>","children":null,"spread":false},{"title":"hibernate-core-5.0.7.Final.jar <span style='color:#111;'> 5.32MB </span>","children":null,"spread":false},{"title":"geronimo-jta_1.1_spec-1.1.1.jar <span style='color:#111;'> 15.65KB </span>","children":null,"spread":false},{"title":"hibernate-commons-annotations-5.0.1.Final.jar <span style='color:#111;'> 73.52KB </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":"com.springsource.org.apache.commons.logging-1.1.1.jar <span style='color:#111;'> 60.02KB </span>","children":null,"spread":false},{"title":"commons-lang3-3.2.jar <span style='color:#111;'> 375.75KB </span>","children":null,"spread":false},{"title":"asm-3.3.jar <span style='color:#111;'> 42.56KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"index.jsp <span style='color:#111;'> 550B </span>","children":null,"spread":false},{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true},{"title":"register.jsp <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"add.jsp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"findall.jsp <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"update.jsp <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 920B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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