When making a xmlhttprequest to call a servlet, I am facing different behaviors in Firefox and IE. In Firefox, everything is working fine, but in IE, the request only triggers sometimes when clicking the refresh button. Additionally, sometimes the response text is displayed without even calling the servlet. Could this be due to caching or some other issue? I don't have any idea what's causing this. Any help would be greatly appreciated.