Hello,

Like the struts-exemple with the 'database' servlet, I initialize a servlet
that will load a list of codes and then place it in the servlet context. 

When I run Tomcat, I receive the following error:

...
2001-06-29 01:12:19 - Ctx( /regbl ): Loading 1 codes
cannot load servlet name: codes: null
2001-06-29 01:12:19 - Ctx( /regbl ): Loading 2 action
...

My web.xml file contains:

    <servlet>
        <servlet-name>codes</servlet-name>
        <servlet-class>com.inser.regbl.init.CodesServlet</servlet-class>
        <init-param>
            <param-name>debug</param-name>
            <param-value>2</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>

The action servlet will load on startup after the codes servlet.

Has someone run into the same problem? What's going wrong?
Thanks.

Adriano Labate

Reply via email to