| 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: 255
|
|
|
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>
|
 |
 |
|
|
subject: JSP not getting refreshed in Mozilla Firefox
|
|
|