cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <KPiroum...@flagship.ru>
Subject RE: Adding values to Cocoon's context
Date Fri, 22 Mar 2002 16:39:18 GMT
> From: Marcus Crafter [mailto:crafterm@fztig938.bank.dresdner.net] 
> Sent: Friday, March 22, 2002 7:36 PM
> To: cocoon-dev@xml.apache.org
> Subject: Re: Adding values to Cocoon's context
> 
> 
> Hi Vadim,
> 
> 	Thanks for your response mate.
> 
> On Fri, Mar 22, 2002 at 11:09:41AM -0500, Vadim Gritsenko wrote:
> > > From: Marcus Crafter [mailto:crafterm@fztig938.bank.dresdner.net]
> > > 
> > > 	4. any others ?
> > 
> > Here it is:
> > 
> > Write another servlet populating context and set startup 
> order in the
> > web.xml so it is initialized before Cocoon servlet.
> 
> 	hmm.. I'm not sure if I understand you - 
> CocoonServlet.appContext is
> 	protected so I can't access it from another servlet class, it
> 	has to be in a subclass of CocoonServlet ?

I think that he meant the usual servlet context, not appContext from
CocoonServlet. You can add anything you need to your application context
using another servlet, then CocoonServlet will already have all the needed
data there on its load time.
Am I right, Vadim?

--
Konstantin Piroumian 
kpiroumian@flagship.ru


> 
> 	What did I miss ?
> 
> 	Cheers,
> 
> 	Marcus
> 
> -- 
>         .....
>      ,,$$$$$$$$$,      Marcus Crafter
>     ;$'      '$$$$:    Computer Systems Engineer
>     $:         $$$$:   ManageSoft GmbH
>      $       o_)$$$:   82-84 Mainzer Landstrasse
>      ;$,    _/\ &&:'   60327 Frankfurt Germany
>        '     /( &&&
>            \_&&&&'
>           &&&&.
>     &&&&&&&:
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

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


Mime
View raw message