• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Frame shows result slowly in a jsp page.

 
avseq anthoy
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all

I have a jsp page name a.jsp.
There is a frame in this page as below


When I enter a.jsp page , the right frame always shows result slowly.
I found that the servlet get the rightFrame request slower than the leftFrame about six seconds.
But I think when I enter a page including the frame. The leftFrame request and rightFrame request should be sent almost currently.
Are there any strange things I should take care?

I deploy the application on the Tomcat.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume you have tried this in many available browsers to see if there is a difference in behavior?
 
avseq anthoy
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:I assume you have tried this in many available browsers to see if there is a difference in behavior?

Yes! I use IE 6.0、firefox 3.5.16 and Chrome 8.0 to test. The same behavior occurs.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you used a tool such as HttpFox (a Firefox plugin) to watch the HTTP requests? That could help tell you whether the delay is on the server or something the browser/client is doing.
 
avseq anthoy
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Have you used a tool such as HttpFox (a Firefox plugin) to watch the HTTP requests? That could help tell you
whether the delay is on the server or something the browser/client is doing.


Thanks for your prompt reply.
I install HttpFox in my firefox. According to the result. The LeftFrame request and the RightFrame request sent almost simultaneously.
But according to the logs in the servlet. The RightFrame request will be received and processed after the LeftFrame request had been processed and completed.

When I depoyed the application in JBoss. Everything is fine and the weird thing in the Tomcat no longer occur.
So I think it is the problem of Tomcat.But I can't find anything about this issue in Google.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic