[opencms-dev] correct resource links in .css files
Thomas M�rz
thomasmaerz at gmx.de
Mon Mar 29 17:49:01 CEST 2004
Joerg Erdmenger <joe at woerd.com> writes:
> Do I need to make the .css
> file a JSP page to be able to use the cms:link tag or is there some other way
> to make references to the current project/module root?
I'd use the same way. But maybe you can set the property "export" for
your CSS-JSP-file to "true".
> 2. How do I set the Mime type of a resource like a .css file?
Name your CSS-JSP-file smth. like "styles.css" and the rest should work
as excpected; this means no need for you setting the Mime-Type.
More information about the opencms-dev
mailing list