Frans Thamura wrote:
It looks like the templatePath init param is used only by the
FileTemplateLoader though. (I've never needed to use that param)

The classpath loader uses
Thread.currentThread().getContextClassLoader().getResource(resourceName);
(and a few other variations if unsuccessful)


i am try to develop a small code and hope can answer this :)

still blank about how the template in classpath work :)

new world


Have a look at org.apache.struts2.views.freemarker.StrutsClassTemplateLoader

and  com.opensymphony.xwork2.util.ClassLoaderUtil

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to