I have a dynamic CSS file in my project. I call it main.CSS.JSP. File sample is below:
<%@ page contentType="text/css" %>
<%@ taglib uri="/WEB-INF/jdnevnik.tlb" prefix="jd" %>
.jdTitle {
width: 100%;
font-family: <jd:config name="titleFont"/>;
height: 7.8em;
}
.jdBlogImage {
color: <jd:config name="textLighterColor"/>;
position: absolute;
left: 5px;
top: 18px;
padding: 2px;
}
I have a project with multiple JSP files, and many-many includes. Includes are often done by custom tags, so, they are not visible through JSP itself. When I use CSS classes in my JSP files, autocompletion does not work. Also, classes in CSS.JSP are marked as unused. May be other CSS features do not work, I can't check them now.