2017年2月28日

eclipse配置springMVC

摘要: 基础还是创建一个Dynamic web project. WEB-INF/lib中添加必需的jar。 commons-logging-1.1.3.jar spring-aop-4.3.6.RELEASE.jar spring-beans-4.3.6.RELEASE.jar spring-contex 阅读全文

posted @ 2017-02-28 15:05 阿呜的边城 阅读(144) 评论(0) 推荐(0) 编辑

eclipse之SSH配置hibernate【三】

摘要: 配置hibernate,没有和spring整合,可以看成独立的部分。 在src下创建hibernate配置文件,hibernate.cfg.xml。主要是sql连接相关配置。 Tip:<mapping resource="com/awu/models/user.hbm.xml"/> 是entity的 阅读全文

posted @ 2017-02-28 13:46 阿呜的边城 阅读(143) 评论(0) 推荐(0) 编辑

eclipse之SSH配置spring【二】

摘要: 第一篇中配置struts完成(http://www.cnblogs.com/dev2007/p/6475074.html),在此基础上,继续配置spring。 web.xml中增加listener,依然在节点web-app中。 Tip:applicationContext.xml是后面在src目录自 阅读全文

posted @ 2017-02-28 09:54 阿呜的边城 阅读(129) 评论(0) 推荐(0) 编辑

导航