This solution suits my needs. Thanks a lot! :-) > -----Message d'origine----- > De�: Unico Hommes [mailto:[EMAIL PROTECTED] > Envoy�: lundi 1 mars 2004 21:45 > ��: [EMAIL PROTECTED] > Objet�: Re: Sub-sitemap static initialization > > > 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" /> > </map:act> > </map:match> > > The initscript would execute the script only once. > > Hope that helps, > Unico > > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
