Hi,

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

in the WEB-INF i have a velocity.properties 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

why?

Thanks


-- 
View this message in context: 
http://www.nabble.com/template-in-a-Tapestry-5-app-tp14833725p14833725.html
Sent from the Velocity - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to