cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Perez <craquer...@yahoo.es>
Subject Re: Custom class that runs when cocoon starts up
Date Tue, 08 Aug 2006 08:22:22 GMT
Sanket Pattekar schrieb:
> Hi
>
> Is it possible to have a custom class that runs when cocoon starts up.
> Using this class I need to run call a pipeline at startup.
>
> This feature I need is similar to that of overriding the init() method
> of any servlet.
>
> Sanket
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
For that purpose I have derive the CocoonServlet class and overrided the 
init method.
In the WEB-INF/web.xml, make sure to point to your new class.

Hope this helps.

David.

	
	
		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message