• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 5 is not finding the updated .css

 
George McCain
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in my jsp i have


and i have changed the commonStyle.css, however if I recompile or even restart the Tomcat server, it doesn't reflect the changes made in the .css. Even if I write the url of the .css in the browser, it always displays the old .css

I renamed the .css to commonStyle2.css, and my changes were visible on the page.

I've also deleted all the stuff in the "Work" directory (where stuff is cached) does anyone know why tomcat doesn't find the updated .css?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64178
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This has not a thing in the world to do with Tomcat. Your browser is caching the css file.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic