IE vs. Firefox: Delay in receiving response from servlet using IFrame

S

Sirix42

Hi there, when I use Firefox to run my application (this involves
sending an IFRAME request to the servlet and handling the response),
there is no delay in displaying the data after each response. But when
I use IE, there seems to be a 1-2 second delay. The script sends a
request using IFrame, goes through a loop to return script tags
containing data to the browser, and then data is displayed by the
browser and a new request is sent. For IE, when a new request is sent,
the delay in receiving the response is quite noticeable. Why does it
do that? Any help would be much appreciated.
 
L

Laurent Bugnion [MVP]

Hi,
Hi there, when I use Firefox to run my application (this involves
sending an IFRAME request to the servlet and handling the response),
there is no delay in displaying the data after each response. But when
I use IE, there seems to be a 1-2 second delay. The script sends a
request using IFrame, goes through a loop to return script tags
containing data to the browser, and then data is displayed by the
browser and a new request is sent. For IE, when a new request is sent,
the delay in receiving the response is quite noticeable. Why does it
do that? Any help would be much appreciated.

It would be interesting to know where the delay occurs, on the client or
the server. With IE, you can easily set up Fiddler to observe the HTTP
requests/response. Also, adding some time-logging code on the client and
on the server can help. The delay is probably rather on the client, but
it's a good start to know exactly where it occurs.

Greetings,
Laurent
 
S

Sirix42

Hi,


It would be interesting to know where the delay occurs, on the client or
the server. With IE, you can easily set up Fiddler to observe the HTTP
requests/response. Also, adding some time-logging code on the client and
on the server can help. The delay is probably rather on the client, but
it's a good start to know exactly where it occurs.

Greetings,
Laurent

The delay occurs on the client side. I did a println in my servlet and
it doesn't seem to be the problem. I don't understand why it would be
delayed though.
 
V

VK

The delay occurs on the client side. I did a println in my servlet and
it doesn't seem to be the problem. I don't understand why it would be
delayed though.- Hide quoted text -

Machines in question may have "fishing protection" or antivirus
activated for IE. Extra time may be needed to check the submission URL
(? just a guess)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top