From: Keats K. <ke...@xa...> - 2004-11-17 02:31:57
|
My guess is that it has to do with which Broker you are using, which depends on how you instantiate WM. If you pass in a Servlet instance (JSDK 2.2+) it will instantiate the Servlet22Broker which should find the templates anywhere the Servlet class loader can find them. Hope this helps. Keats Tim Pizey wrote: >Hi, > >Sorry, I am sure this is a FAQ, >but have not been able to find the answer. > >I am building a war, using webmacro 2.0b1. > >I can access templates in the war file >(ie in the WEB-INF/classes directory) >but I cannot access templates in a jar >in the lib directory. > >This seems to have been something which >none of the Melati users have found a >way around, so end up copying templates into >each project. > > >yours >TimP > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: InterSystems CACHE >FREE OODBMS DOWNLOAD - A multidimensional database that combines >robust object and relational technologies, making it a perfect match >for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >_______________________________________________ >Webmacro-user mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-user > > > |