how to configure DispatcherServlet and ContextLoaderListener in order to give way to OpenViewInSessionFilter

前端 未结 1 410

I\'ve been have some issues with my transaction manager using spring 3.0.5 and hibernate 3.6.1. After finding out that i needed an OpenViewInSessionFilter in a post

1条回答
  •  一向
    一向 (楼主)
    2021-01-28 13:19

    You shouldn't put the configuration in web.xml, just in applicationContext.xml. Next of the viewResolver (I put next to it), include the code:

    
        
            
        
    
    

    0 讨论(0)
提交回复
热议问题