- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 webwork+spring+hibernate整合
1、webwork、spring的集成 (1)、开启spring的集成: 首先将最新的spring的jar加到classpath中,然后在src目录下建立webwork.properties文件,文件只包含下面的内容 webwork.objectFactory=spring 这种情况下,所有的对象都至少会试图使用Spring来创建.如果它们不能被Sp
2007-10-09 08:54:00
643
转载 采用spring的Log4jConfigListener配置log4j
首先配置好log4j的配置文件,在/WEB-INF目录下建立log4j.xml,文件内容如下:
2007-08-09 20:51:00
3085
转载 hibernate二级缓存的配置
Software: Spring+hibernateehcache is the default cache for hibernate. So I choosen it. Step1. Modify ehcache.xml in /webroot/web-inf/classes. the content is below:
2007-08-09 20:37:00
584
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人