As per the specification -

    <servlet>
        <servlet-name>MyServelt</servlet-name>
        <servlet-class>org.apache.cocoon.MyServlet</servlet-class>
        <init-param>
            <param-name>props</param-name>
            <param-value>my.properties</param-value>
        </init-param>
        <init-param>
           <param-name>preload</param-name>
           <param-value>false</param-value>
        </init-param>
    </servlet>

this goes in the web.xml file

Kevin Jones
DevelopMentor
www.develop.com

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Frank
> Meertens
> Sent: 20 September 2000 06:26
> To: [EMAIL PROTECTED]
> Subject: Init Params
>
>
> Hi,
>
> I started using Tomcat as servlet engine.  Now, I want to set init
> parameters on the server in order to read them during the INIT method
> through the ServletConfig object.  Does anyone know how to set them?
> Probable through on of the config files?
>
> Thanx,
>
> Frank.
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to