Internet Explorer page goes non-responsive after submitting page.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Graham_Statham
Posted On:   Thursday, September 17, 2009 06:45 PM

Tomcat 6.0.16
IE 7
Struts 1.x




Periodically after submitting a web page it goes blank and never comes back. The page seems to be stuck between clearing the previous web page and rendering the next. In the logs I can see the action complete, but the web page just spins as tho it was processing. If I refresh the page it works fine.

Re: Internet Explorer page goes non-responsive after submitting page.

Posted By:   tim_fox  
Posted On:   Thursday, September 24, 2009 12:10 AM

Try turning off caching of the page by adding the following JSP tags:




<%

response.setHeader("Cache-Control","no-cache"); //HTTP 1.1

response.setHeader("Pragma","no-cache"); //HTTP 1.0

response.setDateHeader("Expires", 0); //prevents caching at the proxy server

%>




This will ensure that the JSP is not cached by the browser or the app server. I've seen caching cause problems like what you've described and the HTTP tags are not always honored by the browser.



TGF
About | Sitemap | Contact