• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

IE loads the page twice

 
Ranch Hand
Posts: 209
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I hit my page with IE, it loads the page twice based on the print outs of my app..
I've tried Opera and Mozilla, and they only load the page once.
what can be the cause?
Chu
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When you say "when i hit my page...", are you using a link or submitting a form?
I've encountered behaviour like this in IE when we had dodgy code for submitting the page like this:

and this will submit the request twice!
The hitting the 'submit' button causes a request to be sent, then the submit() in the function causes another request to be sent...
Dave
 
author
Posts: 621
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've just noticed this issue as well. Don't have a solution but can say that it appears to occur even without javascript. I've only noticed it with Macintosh IE 5.0 build 2022. From the server logs I can see that it is submitting with a post and then a get. It also only seems to happen after a server restart and then the first time you encounter the page.
Sean
 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check to see guys if you have any html/jsp comment in that page...
 
Justin Chu
Ranch Hand
Posts: 209
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I say "hit" means regular refresh of the website.. The JSP page only contains some html and jsp:include to servlets.
When is say the page is loaded twice, I can only verify that the SERVLETS are loaded twice.. Since the System.out codes are in the servlets.
Here's the headers to my JSP page.

I suspect vp:cacheOff tag might be causing it?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic