Adam. If you make changes in your css they are reflected when the file is downloaded with the page.
If the client has caching turned on the changes will only be reflected when the cache is cleared manually [CTRL + SHIFT + Refresh]. You can set various arguments on your JSP to enforce that the content is not cached but I am sorry I cannot for the life of me remember how (Something to do with Pragma-Cache) BTW don't reply to another thread with a new discussion, your comments will get lost in someone else's thread. -----Original Message----- From: Adam Lipscombe [mailto:[EMAIL PROTECTED] Sent: 31 May 2005 17:26 To: 'Struts Users Mailing List' Subject: RE: technique to show a preview of the image Folks, Our JSP's use stylesheets referenced by a standard HTML link tag. E.g. <link rel="stylesheet" href="pages/calendar/calendar.css"> The graphic designers are complaining 'cos on-the-fly changes made in a stylesheet does not automatically force a JSP to get re-compiled by Tomcat 5.0.28. This means they cant see their changes unless they restart TC. Q: Is there any way to tell TC to re-compile JSP's when a stylesheet has changed? We tried putting the styles in another JSP then using <[EMAIL PROTECTED] ....> to embed them in each page. This didn't work because some of the styles have hard-coded relative paths in them e.g. "url(../images/b_PEC_request.jpg);" The path was interpreted as relative to the main page rather than to the included JSP that holds the stylesheets. So the images were not found. Q: What is the standard approach for this? TIA - Adam --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]