cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Unico Hommes <>
Subject Re: Sub-sitemap static initialization
Date Mon, 01 Mar 2004 20:45:19 GMT

I'm not sure I understand what you are trying to do.

At least you won't know what sitemap is going to process your request in 
the CocoonServlet.

One thing I can think of that you could do is to wrap your sitemap mount
with an action.

The mounting sitemap:

<map:match pattern="blah/**">
   <map:act type="initscript">
     <map:mount src="sitemap" uri-prefix="blah" />

The initscript would execute the script only once.

Hope that helps,

Jean-Luc Mathieu wrote:

> Hello !
> I have to launch an init script (a Java piece of program) at Cocoon startup
> (more precisely on the time the first user to connect requests a specific
> sub-sitemap). Is it a simple way to do this using for example sitemaps only, or
> I have to override CocoonServlet ? 
> Thank you in advance.
> Jean-Luc

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message