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]

Reply via email to