wood burning stoves*
The moose likes JSP and the fly likes JSP not getting refreshed in Mozilla Firefox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP not getting refreshed in Mozilla Firefox " Watch "JSP not getting refreshed in Mozilla Firefox " New topic
Author

JSP not getting refreshed in Mozilla Firefox

Anjali Aggarwal
Greenhorn

Joined: Aug 06, 2011
Posts: 6
Hi,
I am facing an issue in Mozilla Firefox when I refresh my page.
I navigate to the previous page using Back button of the browser and then refresh the page. But it is not getting refreshed.
Though rest of the browsers are behaving fine. Anyone having any idea in this regard? Thanks.
adeeb alexander
Ranch Hand

Joined: May 29, 2008
Posts: 268
I think the problem is with firefox, try reinstalling it.
Anjali Aggarwal
Greenhorn

Joined: Aug 06, 2011
Posts: 6
Nopes. When I try reloading the page using "Ctrl+F5" (no cache), then the page is successfully refreshed. But the problem is , how to achieve it programatically in a JSP. I tried using:
<% response.setHeader("Cache-Control","no-cache");
response.setHeader("Pragma","no-cache");
response.setDateHeader ("Expires", 0); %>
but it is not working either. :-\
Anjali Aggarwal
Greenhorn

Joined: Aug 06, 2011
Posts: 6
I have got a solution - add the following javascript snippet at the bottom of your JSP:

<script>document.summary.finish.disabled = 0;</script>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP not getting refreshed in Mozilla Firefox
 
Similar Threads
Avoiding the page to get refreshed
How to refresh page only once automatically when page is loaded
problem with self.close()
need a listener for onTabChange in firefox
pageContext.exception is not executing