You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Leonardo Battagli <le...@cedac.com> on 2007/01/18 16:42:52 UTC

Reading Cocoon component from Servlet Filter

Hi,

I am trying to develop a Servlet Filter, I need to get some components I
have in cocoon.xconf

I am trying this way but I receive 'cocoon' as null

org.apache.cocoon.servlet.CocoonServlet cocoon = null;
cocoon =
(org.apache.cocoon.servlet.CocoonServlet)(this.servletContext.getAttribute("
Cocoon"));

Cocoon is 2.1.6 and is successfully started and each component has been
created correctly



Leonardo Battagli
Cedac Software s.r.l.
Divisione Software
(www.cedac.com)
Via Toscana, 3
Castiglione dei Pepoli (Bologna) - Italy
esterno +39 0534 93869 / interno 159
leonardo.battagli@cedac.com
Id Msn Messenger: leonardobattagli
Id Yahoo Messenger: leonardobattagli

******
Questo messaggio e qualsiasi allegato con esso sono confidenziali ed
esclusivamente ad uso del destinatario al quale sono indirizzati. Se avete
ricevuto questo messaggio per errore, per cortesia, informate il mittente e
cancellate le informazioni ricevute. Inoltre non è garantita l'integrità del
mittente, nè tantomeno l'integrità dei contenuti.
This  e-mail and any file  transmitted with it are confidential and solely
for the use of individual or entity to whom they are addressed.
If you have received this  e-mail in error please  notify the sender and
delete the material received.
******


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