|
From: Tim P. <tpp...@pa...> - 2004-11-29 10:26:00
|
Hi, A long standing problem has been that we cannot access webmacro templates stored in the Melati jar. This is because we initialise the WM with WM(), if we were to initialise it with WM(this) where this is a Servlet then templates could be found within jars, but I cannot find how to get a Servlet at the point where the TemplateEngine is initialised. What I want to do is: if (we are in a servlet) then WM(this) else WM() surely this should be possible? cheers Tim |