Hi,
I'm trying to learn the Restlet framework. My project use JDK 1.6 / Maven2 /
Freemarker / Servlet / Jetty with war deployment.
My problem is the access to the Freemarkers templates. I want to put templates
in the /src/main/webapp/templates directory. It seems to me that this is the
best
Hello David,
why not packing all the FreeMarker templates inside a jar and deploy
that jar on your app's classpath?
You can then do something like this:
Configuration fmConfig = new Configuration();
fmConfig.setTemplateLoader(new ClassTemplateLoader(getClass(),
2 matches
Mail list logo