Hi! i'm writing a new application using Velocity as
my template engine but i'm having the following problem.

When i try to execute my application i get:

org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'paises.vm'

My 'vm' file is located at root level in the context 
(.../tomcat/webapps/myapplication/paises.vm)
and i'm trying to merge it from my java code using a line
like this:

Velocity.mergeTemplate("paises.vm",ctx,somethingHTML);

Where is Velocity trying to find the vm file?
Is this an absolute path? is it configurable?

Thanks in advance, regards:

========<[EMAIL PROTECTED]>=========
Jaume Soriano Sivera
Tel: 965040000 -ext. 44744 Fax: 965040047
Redes y Sistemas / Portal - NNTT 
Wanadoo Espa�a - http://www.wanadoo.es
==========================================

Reply via email to