Hi there,
I'm currently starting to learn to use java to create dynamic websites. I've started using a servlet and the template engine 'velocity'.
My Environement:
WebContent/
WEB-INF/
gallery/
template.file
My Question: I want to use the "template.file" as template. WHAT filename/path do I have to enter to reach my template from a servlet.
Sorry for my bad english :/ It's currently very hot in germany.
Best regards, andre
EDIT: Some Code...
/* Create and setup the Template system */
template = new VelocityEngine();
template.init();
template.getTemplate("template.file"); <--- Waht directory to use