velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Burton <>
Subject Re: ResourceNotFoundException trying to use FileResouceLoader
Date Wed, 19 Mar 2003 20:45:44 GMT

Kevin Hooke wrote:
> Following other suggestions in the archive of this mail list I have set the
> following properties to init the engine to use the file resource loader, and
> set the base directory:
> Velocity.init();
> Velocity.setProperty(Velocity.FILE_RESOURCE_LOADER_PATH, _outputDir);
> Velocity.setProperty(Velocity.RESOURCE_LOADER, "file");

Setting properties has no effect after .init() is called.  Change it so 
.init() is called afterwards.


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

View raw message