欢迎来到天天文库
浏览记录
ID:36996696
大小:88.51 KB
页数:9页
时间:2019-05-11
《strutsspringibatis整合框架搭建配置文档》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、Struts+Spring+ibatis整合开发步骤:Struts2-core-2.1.8.1.jarStruts框架的核心类库Xwork-core-2.1.6.jarXWork类库Ognl-2.7.3.jar对象图导航语言包Freemarker-2.3.15.jarStruts2deUI标签的模板Struts2-spring-plugin-2.1.8.jarSpring结合struts插件Commons-logging-1.0.4.jarStruts框架的日志包Spring.jarSpring2.5类
2、库Ibatis2.3.4.726.jarIbatis类库Ojdbc14.jarOracle数据库连接驱动Commons-dbcp-1.2.2.jarDBCP数据库连接池类库框架配置-ActionContextCleanUpstruts-cleanuporg.apache.struts2.dispatcher.ActionContextClean
3、Upstruts-cleanup/*框架配置-FilterDispatcher4、me>strutsorg.apache.struts2.dispatcher.FilterDispatcherstruts5、attern>/*contextConfigLocationclasspath:applicationContext.xmlorg.springframework.web.context.ContextLoaderListener框架配置-Ibatis7、n">一.添加Spring、Struts框架对web.xml文件的修改1.添加Spring框架2.在web.xml中引入Spring配置文件(注意:applicationContext.xml文件的路径)contextC8、onfigLocation/WEB-INF/conf/applicationContext.xmlcontextorg.springframework.web.context.ContextLoaderServlet
4、me>strutsorg.apache.struts2.dispatcher.FilterDispatcher
5、attern>/*
7、n">一.添加Spring、Struts框架对web.xml文件的修改1.添加Spring框架2.在web.xml中引入Spring配置文件(注意:applicationContext.xml文件的路径)contextC
8、onfigLocation/WEB-INF/conf/applicationContext.xmlcontextorg.springframework.web.context.ContextLoaderServlet
此文档下载收益归作者所有