Chinaunix首页 | 论坛 | 博客
  • 博客访问: 695159
  • 博文数量: 178
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1507
  • 用 户 组: 普通用户
  • 注册时间: 2014-04-27 23:20
文章分类

全部博文(178)

文章存档

2015年(58)

2014年(121)

我的朋友

发布时间:2015-05-20 22:44:04

使用步骤:步骤一、在spring配置文件中引入命名空间......【阅读全文】

阅读(759) | 评论(0) | 转发(0)

发布时间:2014-10-23 10:40:29

  spring自带的定时任务功能,基于注解和xml配置分类: spring2014-05-06 20:38 344人阅读 评论(3) 收藏 举报1、spring的配置文件[html] view plaincopy <beans xmlns="http://www.springframewor.........【阅读全文】

阅读(1773) | 评论(0) | 转发(0)

发布时间:2014-10-03 02:07:27

springhibernate整合对于提示*** is not valid without active transaction 的错误可以在Hibernate的配置文件中做如下修改<prop key="hibernate.current_session_context_class">org.springframework.orm.hibernate4.SpringSessionContext</prop>(Hibernate4)对于Hibernate3.x,可.........【阅读全文】

阅读(730) | 评论(0) | 转发(0)

发布时间:2014-09-29 17:22:43

项目背景:由于工作需要,原本需要在Extjs4.2 MVC +DWR3 +Spring3.1 + Hibernate3.3.2下做一个分页查询,以Extjs的gridpanel作为页面组件,以DWR作为控制器。然而,在多日翻墙查看英文资料依然未能解决的情况下(诸如各种版本的DWRProxy,ListRange等等),无奈用Servlet代替DWR,将Servlet与Spring进行整合,使Se.........【阅读全文】

阅读(1316) | 评论(0) | 转发(0)

发布时间:2014-09-29 17:17:15

本文是作者在对hibernate4+spring3+struts2整合中遇到的一个问题。对s2sh进行了基本的整合搭建以后,就是对事务的控制管理,将hibernate的事务交由spring管理。根据网上资料,applicationContext.xml中基本的配置如下(注意先后顺序的问题):[html] view plaincopy<?xml&nb.........【阅读全文】

阅读(713) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册