This content has been marked as final.
Show 1 reply
-
1. Re: Transaction and jsp
adrian.brock Mar 30, 2003 6:53 PM (in response to erikture)Yes.
Or you can use a filter then configure
which urls require a transaction.
e.g.
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/applications/forums/src/main/org/jboss/forums/web/TransactionFilter.java?annotate=1.4
WARNING: Using a transaction in a servlet/jsp
can lead to longer running transactions because
flushes to the client can delay the commit.
Regards,
Adrian