The moose likes JSP and the fly likes page refersh problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "page refersh problem" Watch "page refersh problem" New topic

page refersh problem

Ali Haider

Joined: Feb 21, 2001
Posts: 25
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.
ersin eser
Ranch Hand

Joined: Feb 22, 2001
Posts: 1072
do you, by any chance, have include() in your code?
nan sh
Ranch Hand

Joined: Jan 05, 2001
Posts: 167
Delete tomcat generated Java code( in work folder) and try again
Atul G

Joined: Mar 28, 2002
Posts: 1
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
Originally posted by ersin eser:
do you, by any chance, have include() in your code?
I agree. Here's the link:
subject: page refersh problem
It's not a secret anymore!