velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neha Vishwarupe" <>
Subject Question on reloading Velocity Templates
Date Thu, 05 Jun 2008 21:46:54 GMT


I want to reload a Velocity template. A template of same name exists
under 2 locations. If first one fails - throws exception then I want to
load another one of same name. Problem is Velocity is already
initialized to multiple paths of directories to look for templates using
properties.  Following would be one path and other one is default path
under classes\


props.put(Velocity.FILE_RESOURCE_LOADER_PATH, ....



So how to distinguish at run time which full path should be used to load
other  velocity template with same name?







  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message