i am trying to access templet in HelloTest file which extends
VelocityServlet and in the coding i am using
try
{
context.put("name", "Velocity Test");
template = Velocity.getTemplate("hello.vm");
} catch( Exception e )
{
System.err.println("Exception caught: " + e.getMessage());
}
return template;
}
but i am recieving Unable to find resource './hello.vm' from the tomcat 6.0
server.i have saved hello.vm file in WEB-INF folder.
can u please guide me where i have been wrong,as i am very new to velocity
template language