- 博客(4)
- 收藏
- 关注
原创 Spring3使用proxool
Spring3中使用proxool,会出现无法加载proxool的情况。由于web.xml文件中的加载顺序是:(1)(2)(3)(4)因为spring3是采用进行启动(如下:) contextConfigLocation classpath:config/applicationContext-*.xml org.springframework.web.c
2013-08-29 22:35:46 2656 2
原创 Hibernate4+Spring3 配置数据源
Hibernate4 + Spring3 整合,配置sessionFactory时,需要注入dataSource,否则报错。sessionFactory配置如下: classpath:config/hibernate.cfg.xml dataSource" ref="dataSource" /> com.ys.entity 我测试的几种配置
2013-08-29 22:00:18 6699 3
原创 oracle用户授权完整过程
步骤:1.创建用户create user 用户名 identified by 密码;如:create user yao identified by yao;2.创建表空间create tablespace 表空间名 datafile '文件地址\文件名.dbf' size 大小;如:create tablespace ts_ssh2 datafile 'F:
2013-08-15 21:05:51 1622 1
原创 Struts2获取Web容器资源的方式
方式一:通过ServletActionContext取得request,返回HttpServletRequest。通过request.getAttribute取值 HttpServletRequest request = ServletActionContext.getRequest(); System.out.println(request.getAttribute("user.u
2013-08-08 21:53:52 1722 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人