title: Create HTML from Velocity vm - how do you use CSS?
body: <p>I write a REST based webapp (for Tomcat) and return HTML created from a Velocity template through JAX-RS (Jersey). I would like to use CSS in the HTML and do not know how to properly reference the external CSS file (which resides in the war).</p>
  
  <p>My Velocity template is in <code>/src/main/webapp</code> in the folder <code>templates</code>. My <code>style.css</code> also resides in <code>templates</code>. I would like to reference it from the <code>vm</code>-file in way that it is recognised and loaded when I return the resulting HTML through my REST service.</p>
  
  <p>What do I need to do to achieve this?</p>