• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP Page is not getting loaded with new values  RSS feed

 
sudha swami
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I changed the following page: loginPage.jsp. The new jsp page is as follows

<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%
response.setHeader("Cache-Control", "no-store, no-cache");
response.setHeader("Pragma", "no-cache");
response.setDateHeader("Expires", 0);
%>
<script>
window.location="https://"+window.location.hostname+":9443/sampleWeb/sampleSSL.jsp"
</script>


From the browser when enter loginPage.jsp it always loads with the old value which was present in loginPage. jsp. But when i hit refresh button, it reloads the new value. I cleared the brower cache but still doesnt help. I am using IE 6.0

Any help is appreciated.

Thanks
Sudha
 
Ravinderjit Singh
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try with the option 'Every time I visit the webpage' enabled for 'Browsing history' settings.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you checked the no-cache FAQ?
 
sudha swami
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I tried no-cache FAQ and i enabled the 'Every time I visit the webpage' in browser history settings but still it doesnt refreshes.
Thanks
Sudha
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!