velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <>
Subject Re: JarResourceLoader
Date Sat, 03 Mar 2001 00:10:01 GMT
on 3/2/01 3:51 PM, "Dave Bryson" <> wrote:

> If anyone has an interest. I've added a JarResouceLoader for loading
> templates from Jars ( hence the name ) and a test in the whiteboard section
> under my name.
> It's still pretty raw yet, but it works.  I plan to expand it so it can
> load several jars and cache the resources.
> I hope this may be one step to solving the single template path ( especially
> in
> Turbine ). 

In Turbine, it should be done through the Servlet Engine... getResource()
and getResourceAsStream(). That way it will work with closed WAR files (not
that I care about closed WAR files, but some people do)...


View raw message