Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

cached page wont show changes  RSS feed

 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I cant get changes to my jsp pages to be displayed. My page seems cached somewhere. I stopped and started the tomcat service (i'm on windows 2000 )and cleared out my browser cache and cookies. is there somewhere else or something i can do to get page changes to take effect?
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try deleting the contents in the 'work' folder under the tomcat directory, and then restarting tomcat
 
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to add this at the top of the page,it may help
<% response.setHeader("cache-control","no-store");
response.setHeader("Pragma","no-cache");
response.setDateHeader("Expires",0);
%>
Normally any changes in jsp shd immed get reflected in browser window upon refresh without restarting.
 
Why does your bag say "bombs"? The reason I ask is that my bag says "tiny ads" and it has stuff like this:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!