摘要: 整合hibernate整合什么?有ioc容器来管理hibernate的SessionFactory让hibernate使用上spring的声明式事务先加入hibernate 驱动包新建hibernate.cfg.xml配置hibernate的基本属性数据源需配置到IOC 容器中,所以在此处不再需要配... 阅读全文
posted @ 2015-08-28 21:30 平常心cz 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 使用myeclipse2014整合ssh 新建一个webproject 创建过程中注意选择生成web.Xml 先添加struts2的能力 选择都添加过滤器的选项 Core dojo Dwr spring plugin 单击完成 此时在src目录下就生成了struts.xml文件 并且在web.xml文件中配置好了filter str... 阅读全文
posted @ 2015-08-28 21:28 平常心cz 阅读(214) 评论(0) 推荐(0) 编辑