FreemarkerServlet and Templates

Keith Swallow <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <C8526920.292%[email protected]>
Greetings,

I'm trying to figure out where the FreemarkerServlet looks for templates by
default. I read but don't really understand the javadoc.

"TemplatePath specifies the location of the templates. By default, this is
interpreted as web application directory relative URI. ... Default value is
class:// (that is, the root of the class hierarchy)."

This sounds like I should put my templates either inside my webroot or
inside my src folder (next to com). Where should I put my templates?

Thanks in advance!

Keith


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.