« Return to Thread: OpenSessionExecuteAndWait vs. OpenSessionInViewFilter

OpenSessionExecuteAndWait vs. OpenSessionInViewFilter

by XieCharles :: Rate this Message:

Reply to Author | View in Thread


The Spring's OpenSessionInViewFilter has already applied in my struts2 project, and I am about to use the ExecuteAndWaitInterceptor, so I put the OpenSessionExecuteAndWaitInterceptor which extends the struts' original ExecuteAndWaitInterceptor at last of the interceptor stack(see Struts2 cookbook in the wiki). But I found that the
OpenSessionExecuteAndWaitInterceptor cannot work with the OpenSessionInViewFilter well. Is there any piece of code about how to use these two components correctly?


 


http://charles-xie.spaces.live.com



_________________________________________________________________
上Windows Live 中国首页,下载最新版Messenger!
http://www.windowslive.cn

 « Return to Thread: OpenSessionExecuteAndWait vs. OpenSessionInViewFilter