thanks for the reply my Demolog servlet resides in /test/servlet/*
what I did is change the dtd for <servlet-mapping> into this
<servlet-name>
  Demolog
</servlet-name>
<url-pattern>
  /test/servlet/*
</url-pattern>
Does this make sense ?

-----Original Message-----
From: pero [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 10:32 AM
To: [EMAIL PROTECTED]
Subject: RE: servlet in startup


Are you sure, that 'Demolog' is the fully qualified name of your Servlet? I
mean, don't you have a package name? (property <servlet-class>)
To load a Servlet at startup you need to provide some positive number as the
<load-on-startup> property.
If you want to call your Servlet from an URL like
http://localhost:8080/Demolog then you have to add a servlet-mapping to your
web.xml. Example

    <servlet-mapping>
        <servlet-name>Demolog</servlet-name>
        <url-pattern>/Demolog</url-pattern>
    </servlet-mapping>

hope this helps.

pero


Reply via email to