This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat 5 is not finding the updated .css Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 5 is not finding the updated .css" Watch "Tomcat 5 is not finding the updated .css" New topic
Author

Tomcat 5 is not finding the updated .css

George McCain
Ranch Hand

Joined: May 06, 2003
Posts: 35
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

Joined: Jan 10, 2002
Posts: 60767
    
  65

This has not a thing in the world to do with Tomcat. Your browser is caching the css file.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
jQuery in Action, 2nd edition
 
subject: Tomcat 5 is not finding the updated .css
 
Similar Threads
Does Tomcat cache CSS files?
netbeans does not refresh the css
How to install mod_webapp connector
Pro Android Web Apps target audience
tomcat does not refresh servlets?