How to include a static or uploaded file in Velocity macro via #include
问题 I am trying to optimize some mobile web pages (or number of server requests more accurately) by in-lining some CSS in the HTML downloaded with initial request. These pages are delivered from our Vosao-based CMS, and use Apache Velocity macros. This works fine, as expected. <link rel="stylesheet" type="text/css" media="screen" href="/file/downloads/contact.css" This fails <style> #include( "/file/downloads/contact.css" ) </style> as Velocity cannot find the file, with this output org.apache