Hi, Thanx alot it works now! anis
> -----Ursprüngliche Nachricht----- > Von: Mike Curwen [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 2. Juli 2003 19:50 > An: 'Tomcat Users List' > Betreff: RE: Starting a sevlet automatically when Tomcat starts > > > From the DTD: > The optional contents of these element must be an integer > indicating the order in which the servlet should be loaded. > If the value is a negative integer, or the element is not > present, the container is free to load the servlet whenever > it chooses. > > So, Tomcat developers.. what does Tomcat do with an empty tag ? > > > Try : > <load-on-startup>0</load-on-startup> > > > > > -----Original Message----- > > From: Hamidene, Anis Ben [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, July 02, 2003 12:41 PM > > To: Tomcat Users List > > Subject: AW: Starting a sevlet automatically when Tomcat starts > > > > > > 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] > > > > > --------------------------------------------------------------------- > 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]