在我们使用Spring框架的同时,我们都会在项目中的web.xml中,进行一些Spring的配置,(通过反射完成相应类的调用以及生成)用来在项目使用Spring。下面是几个常用的web.xml中配置spring。1. org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter(jpa中的延迟加载过滤器)属性private String entityManagerFactoryBeanName;用来记录entityManagerFactory的名称值,默认值为entityManagerFactory;继承OncePer... Read More
posted @ 2013-01-22 16:29 Thriller1 Views(610) Comments(0) Diggs(0) Edit