Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

urlrewrite filter and opensessioninview filter



I'm using urlrewrite to change my urls from /saveSomething.htm?month=3.. to /saveSomething/month/3 and at the same time im using the filter opensessioninview for hibernate. The problem is that after i save info or what ever and fetch data from the db and the url re written i get an error on the jsp stating that the hibernate session is closed. If I just use a parameter based url everything works fine. Any one have any ideas?