On Fri, Oct 23, 2009 at 3:50 AM, rowlando <n...@rowlando.com> wrote:

> For maintenance purposes I want to keep stylesheets in separate files.
> However, when served, they should be concatenated together as a single file.
> Simply, I have a file called global.css with the following:
>
> <%@ include file="../global/i_base.css" %>
> <%@ include file="../global/i_header.css" %>
...

> Of course, the CSS file isn't processed by the JSP servlet. What do I need
> to configure to allow the CSS file to process the include directives?

Either add a url mapping for the JSP servlet to match `*.css` or
rename global.css -> global.css.jsp  and add header info to it to
provide the appropriate content-type.

FWIW,
-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to