|
|
Q4081 I have written a servlet that sets AutoCommit(false) and executing several insert statements with a final commit at the end. When this servlet is accessed simultaneously by several browsers, the servlet hangs and has to be restarted. Is there a way to prevent this from happening?
irt.org | Knowledge Base | Java | Q4081 [ previous next ] Q4081 I have written a servlet that sets AutoCommit(false) and executing several insert statements with a final commit at the end. When this servlet is accessed simultaneously by several browsers, the servlet hangs and has to be restarted. Is there a way to prevent this from happening?This is a genral problem that occurs with servlets if proper strategic planning is not done. I don't know the exact situation you are having but you can check out the following:
|
-- div -->
|