I have a J2EE web application which performs database select, update and insert operations.. All the operations work fine after thorough testing. But only in some cases, the update and insert operations take forever and just sit there doing nothing. Interestingly, I don't get any exception or error in the logs.. But after some research, I was able to find something unusual. I have AJAX calls inside my JSP's. I suspect that whenever I trigger an update/insert operation before an AJAX response comes back, I run into this problem. And I'm unable to perform any update/insert operation thereafter. I'm not sure if the problem is because of AJAX conflict or something else.. Please suggest me..