velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keng Onn <>
Subject Configuring file loader path
Date Mon, 15 Aug 2005 02:05:27 GMT

I'm trying to use Velocity within my web application to generate some 
text files, but while configuring Velocity using the 
"" file, I've some problem in configuring the file 
resource loader path to point to "...WEB-INF\myapp" where my templates 
(e.g. "source.vm") are located, i.e. "myapp" folder within "WEB-INF".

The actual file I'm using contains the following lines:
resource.loader = file
file.resource.loader.description = Velocity File Resource Loader
file.resource.loader.class = 
file.resource.loader.path = .
file.resource.loader.cache = false
file.resource.loader.modificationCheckInterval = 2

I've tried setting "file.resource.loader.path" to "/WEB-INF/myapp", 
"WEB-INF/myapp", but all to no avail :(.

Does anyone have any idea how to resolve this issue? Any help would be 
very much appreciated...

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

View raw message