velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mailmur <mail...@yahoo.com>
Subject Re: URL and Classpath resource loaders
Date Thu, 07 Aug 2003 06:00:12 GMT
It is relative easy to taylor a new resourceloaders.
Please, look at the
http://koti.mbnet.fi/akini/java/unicodereader/ for
UnicodeFileResourceLoader example. You could take
current ClasspathResourceLoader sourcecode from cvs
and tweak it to use systemloader or something else.

> 2. ClasspathResourceLoader is half of what I need;
> it loads resources using the ClassLoader, but it
> doesn't use the correct one for my purposes. In
> 1.3.1 it appears to use
> this.getClass().getClassLoader(), which would be the
> ClassLoader that loaded Velocity. In my case, that


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Mime
View raw message