2009/2/13 Security Management <list-subscripti...@secmgmt.com>: > I'm using Hibernate, and am going to create an interceptor to run before the > Action to open a session and start a transaction. > > After the view is rendered, I want to commit the transaction. > > This will result in 1 transaction per request, how can I do the second > (after) interceptor?
If you call invocation.invoke() inside your interceptor, the result will be already rendered then you can do what you want and. Regards -- Lukasz http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org