You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Michael Wyraz <mi...@evermind.de> on 2001/04/10 11:12:09 UTC

Accessing the cocoon ServletConfig from a processing-module

Hi!

I have written a processor that runs servlets. This servlets i call (and 
configure) via ServletContext.getServlet(). But in the new jsdk this method is
deprecated and does not work. Now i want to setup/initialize the Servlets with
my own code. But i need a way to pass some configuration options to that 
servlets.
Is there a way to access parameters set in the servlet config of cocoon or 
the whole ServletConfig object?

If not, i have a second question:
if i implement the Configurable interface, how/where can i set the Options 
that are passed to my module?

Thanks a lot.
Michael.

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