aspose file tools
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 Elasticsearch in Action this week in the Big Data 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

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

Joined: Jan 10, 2002
Posts: 62118

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]
I agree. Here's the link:
subject: Tomcat 5 is not finding the updated .css