On Fri, Oct 23, 2009 at 3:50 AM, rowlando <[email protected]> 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 ------------------------ [email protected]
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to