File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

page refersh problem

Ali Haider
Greenhorn

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.
Ali
ersin eser
Ranch Hand

Joined: Feb 22, 2001
Posts: 1072
mmm...
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
Greenhorn

Joined: Mar 28, 2002
Posts: 1
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: page refersh problem