Remember the thing that is on the classpath is WEB-INF\classes, not it's subclasses. I don't use FreeMarker, but I'd suggest puting that file in WEB-INF\classes and giving it a try. (*Chris*)
On 11/13/06, wolverine my <[EMAIL PROTECTED]> wrote:
Hi! In http://cwiki.apache.org/WW/freemarker.html, it explained that Struts 2 looks for FreeMarker template in Web application followed by the Class path. However, when I placed my FreeMarker template in webapps/dummy/WEB-INF/classes/com/dummy/test.ftl it caused the following exception: java.io.FileNotFoundException: Template /test.ftl not found. freemarker.template.Configuration.getTemplate(Configuration.java :441) freemarker.template.Configuration.getTemplate(Configuration.java :411) Isn't it test.ftl included in the Class path? Did I miss out anything here? Note: it works when I placed the test.ftl in webapps/dummy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]