-
Mar 12th, 2009, 05:21 PM
#1
Acegi + velocity Can't locate css files
Hi,
Very simple problem but not getting anywhere so thought I'd post:
trying to consolidate all my styles into a css file for my project.
I have the following Structure:
ls tomcatdir/webapps/app1/:
META-INF WEB-INF css
in the css dir I have a test.css file.
my interceptor in applicationContext.xml is as follows:
<property name="objectDefinitionSource">
<value>
CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
PATTERN_TYPE_APACHE_ANT
/**=ROLE_ANONYMOUS
</value>
</property>
So anyone can access any page.
my vm template I have the following:
<style type="text/css" media="screen">
@import url("app1/css/test.css");
@import url("/app1/css/test.css");
</style>
But the file does not see the css.
When I go to the URL of my browser and type in:
http://servername/app1/css/test.css
I get a 404.
Someone please help.
Cheers,
Nathan.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules