配置在web.xml中
xml 代码
OpenSessionInViewFilter
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
singleSession
true
OpenSessionInViewFilter
*.do
org.springframework.web.context.ContextLoaderListener
contextConfigLocation
/WEB-INF/applicationContext*.xml
本文转自
http://kenshinlk.javaeye.com/blog/59087
xml 代码
OpenSessionInViewFilter
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
singleSession
true
OpenSessionInViewFilter
*.do
org.springframework.web.context.ContextLoaderListener
contextConfigLocation
/WEB-INF/applicationContext*.xml
本文转自
http://kenshinlk.javaeye.com/blog/59087