Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!