Hi there,

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" %>
<%@ include file="../global/i_footer.css" %>
<%@ include file="../global/i_layout.css" %>
<%@ include file="../global/i_button.css" %>

In the head of a JSP file I put the line:

<link rel="stylesheet" type="text/css" media="screen"
href="/assets/css/concat/global.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?

Thanks,
Nick.
-- 
View this message in context: 
http://www.nabble.com/How-to-use-Includes-in-CSS-files-tp26024235p26024235.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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

Reply via email to