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]

Reply via email to