Hi, 
that�s what I need. But it didn�t work.
Shall I make any other configuration?
Here is a portion of my web.xml:

<servlet>
        <servlet-name>
            propertiesLoader
        </servlet-name>
        <servlet-class>
            com.dzbw.ladiva.azrinterface.PropertiesLoader
        </servlet-class>
        <load-on-startup />
 </servlet>

<servlet-mapping>
        <servlet-name>
            propertiesLoader
        </servlet-name>
        <url-pattern>
            /pLoader
        </url-pattern>
</servlet-mapping>
        

Best Regards

anis

  



> -----Urspr�ngliche Nachricht-----
> Von: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
> Gesendet: Mittwoch, 2. Juli 2003 18:13
> An: Tomcat Users List
> Betreff: RE: Starting a sevlet automatically when Tomcat starts
> 
> 
> 
> Howdy,
> How about just adding <load-on-startup /> to the <servlet> 
> tag in your web.xml?
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> >-----Original Message-----
> >From: Hamidene, Anis Ben [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, July 02, 2003 11:47 AM
> >To: [EMAIL PROTECTED]
> >Subject: Starting a sevlet automatically when Tomcat starts
> >Importance: High
> >
> >Hi,
> >
> >i need to start a servlet automatically when tomcat starts 
> (could be a 
> >windows NT service). How is this possible with Tomcat 4.1.2?
> >
> >Thanks
> >
> >Best Regards
> >
> >anis
> >
> >
> >
> 
> 
> 
> This e-mail, including any attachments, is a confidential 
> business communication, and may contain information that is 
> confidential, proprietary and/or privileged.  This e-mail is 
> intended only for the individual(s) to whom it is addressed, 
> and may not be saved, copied, printed, disclosed or used by 
> anyone else.  If you are not the(an) intended recipient, 
> please immediately delete this e-mail from your computer 
> system and notify the sender.  Thank you.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to