Finally figured it out guys- please don't kick me when you read this. I'm using Apache2 with Spring 3, with Springsource Tool Suite as the IDE. The whole reason I wasn't able to get it running is because I was using this in my index jsp file:
<link rel="stylesheet" href="<spring:url value="/resources/styles/foo.css" htmlEscape="true" />" type="text/css"/>
The thing is, that when run on a Tomcat 7 server, its perfect. However, when run on an apache 2 server with tomcat as the container, this css file wasn't showing up. So I removed the /
from /resources/styles/foo.css
:
<link rel="stylesheet" href="<spring:url value="resources/styles/foo.css" htmlEscape="true" />" type="text/css"/>
It then worked perfectly, on both Apache+Tomcat and Tomcat standalone.
Thanks and sorry for wasting your time.