velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AngeloChen960 <>
Subject template in a Tapestry 5 app
Date Tue, 15 Jan 2008 08:30:46 GMT


how Velocity locates template file in a web app? here is what I did:

in the WEB-INF i have a with following content:
resource.loader = file
file.resource.loader.path = /tmp

and I put a .vm file in /tmp

in the code, I did:
  Template t = ve.getTemplate("registrationEmail.vm");

but always got the exception:ResourceNotFoundException



View this message in context:
Sent from the Velocity - User mailing list archive at

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

View raw message