title: File not found exception when trying to get the ftl template
body: <p>I wrote a java program in which I have to render a ftl and get the output in String variable. 
  Please find my code below:</p>
  
  <pre><code>Configuration cfg = new Configuration();
  StringWriter stringWriter = new StringWriter();
  try 
  {
         Template template = cfg.getTemplate("src/response.get.html.ftl");
         model.put("content",contextModel);
         template.process(model, stringWriter);
         System.out.println(stringWriter);
  
  } 
  </code></pre>
  
  <p>But am getting file not found exception in <code>Template template = cfg.getTemplate("src/response.get.html.ftl");</code> </p>
  
  <p>I have placed my response file in <strong><em>src</em></strong> and my java file in package <strong><em>com.test.webscripts</em></strong>. According to <a href="http://viralpatel.net/blogs/freemaker-template-hello-world-tutorial/" rel="nofollow">http://viralpatel.net/blogs/freemaker-template-hello-world-tutorial/</a>  its fine. But am unable to figure out why am I getting the exception. Can someone please help me?</p>
  
  <p>Thanks in advance!</p>