Yes, thanks
it works (if you put it before the servlet tag).
Peter
----- Original Message -----
Sent: Thursday, November 21, 2002 8:30 AM
Subject: Antwort: Retrieving init parameters via HttpContext in Cocoon2


Hello,

  For us the following works, in your web.xml you have to specify your
 parameters like:

        <context-param>
                    <param-name>whatever</param-name>
                    <param-value>whateverValue</param-value>
                    <description>whatever description</description>
          </context-param>  

 Then we use context.getInitParameter("whatever") to retrieve a
 parameter.

 HTH,

 miHam

Reply via email to