servlets - Chrome (or chrome frame) sends two or more requests instead of one? -


I use the HTML5 video tag, back-end is on Java It works fine in Firefox, but in Chrome This sends more than one request for the sublet and in the end there is an exception in the sublet and it does not work.

I first read it to create an element in the DOM and then assign it to src , but still it sends more than one request.

Do you have any solutions for me?

I really do not know why Chrome sends more than one request to your servlet but honestly , I think you should fix the cause of exception in your servlet because there is no control over your request originally that someone (Chrome or potential attacker) sends you service while communicating with "outside" of any component Unexpectedly Minister should expect.

If you provide stack trace and / or some additional information, possibly in a new question, you can get some help with this problem. / P>


Comments