Hi!

I use a template located in c:\temp\foo.tpl

 java.util.Properties oProperties = new Properties();
 oProperties.setProperty("file.resource.loader.path", "c:\\temp");
 Velocity.init(oProperties);
 Template oTemplate = Velocity.getTemplate("foo.tpl");

But, how to do to use a template which is located in a jar  ?

--
Pierre-Fran�ois Lemosquet

Product team
E-Mail: [EMAIL PROTECTED]

Wokup! Get your dotcom anywere...
http://www.wokup.com


Reply via email to