From: Upayavira [mailto:[EMAIL PROTECTED]

> I have an object that is used by all pages to present static data to 
> pages using JXtemplate, so
> 
> cocoon.sendPageAndWait("page", {"static", 
> cocoon.context.getAttribute("StaticObject")});
> 
> How can I get an object into the context, once, at server startup, 
> without subclassing CocoonServlet?

you can register a listener in web.xml that does what you need. It is
very similar to a session listener but works on the application level.

HTH
Reinhard

Reply via email to