velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinobu Kawai <>
Subject Re: Loading templates from classpath
Date Fri, 01 Apr 2005 17:47:26 GMT
Hi seba,

> I am in the following situation: I'm running a Velocity servlet in
> Jetty, and everything works fine until I load the template (which
> Velocity can't found). I would like getTemplate() to load the template
> from the classpath (i.e., from the jar file), so to have a completely
> self-contained application. I think this is possible using a classpath
> loader, but after a lot of reading a couldn't find a single example (and
> exploring all possibilities is daunting).
> I would be immensely grateful to anybody pointing me at a code snippet
> that shows how to do it...

What have you tried so far?  Let's start from there.

Some documents you might want to read:

Best regards,
-- Shinobu

Shinobu Kawai <>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message