返回博主主页

在WEB项目中集成Spring

Spring,负责对象创建,处理依赖关系

Spring在WEB应用使用

  整合SpringMVC,Structs,Hibernate,Mybatis

步骤:

引用jar文件

    Spring-core

    Spring-web(spring-web-4.0.6.RELEASE.jar)(spring-webmvc-4.0.6.RELEASE.jar)

配置文件

  applicationContext.xml--spring容器的配置

  web.xml--初始化spring IOC容器

posted @ 2019-04-04 16:27  懒惰的星期六  阅读(158)  评论(0编辑  收藏  举报

Welcome to here

主页