Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP not getting refreshed in Mozilla Firefox

 
Anjali Aggarwal
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the problem is with firefox, try reinstalling it.
 
Anjali Aggarwal
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have got a solution - add the following javascript snippet at the bottom of your JSP:

<script>document.summary.finish.disabled = 0;</script>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic