Simple loader to get templates from the resources in the classpath.

Exceptionally useful, I think, for servlet use on a v2.2 or better
servlet container - you just jar up your templates any way you want
and drop them into WEB-INF/lib, and that's it.  No configuration
files to worry about, nor do you have to manually set the root of
your template paths at runtime, so you webapp is easily portable
w/o extra work.

Tested with Tomcat 3.2.1 - should be fine with Catalina as well.

Also tested with jars explicitly placed in the classpath (yech) as well
as simply adding the template-containing directory to the classpath
(yech also).

But it works.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/velocity/trunk@74382 13f79535-47bb-0310-9956-ffa450edef68
1 file changed