Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

page refersh problem

 
Ali Haider
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
using jsp, the pages which I'm using. don't get refreshed even until I refresh it by pressing the refresh button of browser. Tried everything but it doesn't work. I used the following code too. but still
response.setHeader("pragma", "no-cache");
response.setHeader("Cache_Control", "no-cache");
response.setHeader("Cache_Control", "no-store");
response.setDateHeader("Expires", -1);
Don't know how to fix it.
Ali
 
ersin eser
Ranch Hand
Posts: 1072
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mmm...
do you, by any chance, have include() in your code?
 
nan sh
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Delete tomcat generated Java code( in work folder) and try again
 
Atul G
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am also facing the same problem and I have jsp:include on my page.
If you know the reason then please tell me...
thanks in advance
atul
Originally posted by ersin eser:
mmm...
do you, by any chance, have include() in your code?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic