Ugo Cei wrote:
I have this in my web.xml:
<init-param> <param-name>index-directory</param-name> <param-value>/tmp/lucene</param-value> </init-param>
and this in my flowscript:
print("Index dir = " + cocoon.context.getInitParameter("index-directory"));
and it prints:
Index dir = null
Is this a bug or am I missing something obvious?
Yep: I guess you added <init-param> to the Cocoon *servlet* and not to the *context* ;-)
Huh? So the init-params for the servlet in web.xml are different from the init-params in the context? Where do the context ones come from?
Regards, Upayavira
