title: Where does Velocity search for the template?
body: <p>I need to use Velocity from Java-code in a web-application (I use it as mail-templates processor).</p>
  
  <p>So, I have a standard code:</p>
  
  <pre><code>VelocityEngine ve = new VelocityEngine ();
  try {
     ve.init ();
     Template t = ve.getTemplate (templatePath);
     ...   
  } catch (Exception e) {
     throw new MailingException (e);
  }
  </code></pre>
  
  <p>This code always throws the <code>ResourceNotFoundException</code>. Where should I place my templates in web-application (WEB-INF? classpath? etc?) and how should I specify path (i.e. what should I pass as <code>templatePath</code>)?</p>