Hi All,
i am using velocity engine template for mailing in struts1 and hibernate configuration.
i got error : org.apache.velocity.exception.ResourceNotFoundException while i try to send mail.
i have included velocity1.5.jar, mail.jar, activation.jar, smtp.jar.
i include the velocity template path here
String velocityTemplate = "mailTemplate/sendMail.vm";
and the mailTemplate folder is in WEB-INF/classes folder
i got that error when code executes this line
Template template = velocityEngine.getTemplate(velocityTemplate);
can any one help me regarding this ?.
it will be more appreciable if any one help me regards.
Thank you in anticipation
Syed Shahul