Well, Velocity can load any text files, but there's a risk it might process
random characters as FML.  (e.g. "##" as a comment).  And binary files such
as images are problematic.

Maybe use ClassLoader.getSystemResourceAsStream() instead?

WILL

On 4/14/07, David Donohue <[EMAIL PROTECTED]> wrote:

I am enjoying using VelocityLayoutServlet with
ClasspathResourceLoader.  VM
files load great, and the layout loads wonderfully too. The trick is: how
can I get images, CSS, and other static content to load via classpath as
well?  Or how can I get them load at all?
THANKS!
David




--
Forio Business Simulations

Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com

Reply via email to