473,406 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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

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.

Feb 6 '07 #1
3 4335
Hi,

Sirix42 wrote:
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
Feb 7 '07 #2
On Feb 7, 3:00 am, "Laurent Bugnion [MVP]" <galasoft...@bluewin.ch>
wrote:
Hi,

Sirix42 wrote:
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
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.

Feb 7 '07 #3
VK
On Feb 7, 9:20 pm, "Sirix42" <tout...@gmail.comwrote:
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)
Feb 7 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Muzzy | last post by:
Hello, I just have a problem with following: i have a .jsp file containing a static html menu and a table cell where i need to include a servlet call result. Servlet is called with the same...
1
by: Martial Spirit | last post by:
Hello- I was amazed at the suckerfish drop-downs from AListApart.com. They work great except for one thing, if I position the drop-downs over an iframe element, on mouseover the menus disappear....
6
by: NoCopy na | last post by:
Using the following example: domiframetest.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html...
6
by: goober | last post by:
Ladies & Gentlemen: I have built a form that client-side validates and posts data to a CRM beautifully in Internet Explorer (IE) 6. The problem comes in FireFox (FF) 1.5 when everything works...
4
by: evgenyg | last post by:
Hello ! We have the following situation - when Ajax request is sent what's being returned by the server is usually an XML (which is used for DOM updates) but sometimes it's HTML which is a whole...
1
by: stroumf | last post by:
Hi, Simple question, I want to receive compressed data from a server using AJAX. At the client I make an xmlHttpRequest. Next I want to set the accept-header to Gzip, but I keep getting errors...
3
by: Alexander Higgins | last post by:
Hello, I would like to thank everyone for there help in advance. I have form which is using an iframe as a Rich Text Editor. Everything works as expected in IE but I have two issues with...
0
by: Wayne Deleersnyder | last post by:
Hi All, I'm hoping to try to solve this error. I'm currently putting together a little web app, but I need it to work under both IE6, IE7, Mozilla, etc... Although the formatting is off for...
1
by: Sura | last post by:
Hi I have a flash interactive window which has html links and this appears on an html page. This window can be moved with the mouse on the html page. The html page has an iFrame too. When the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.