Thank you very much!

> Ralf,
> 
> web.xml is the right place. You just have to put another entry in your
> desired <servlet>...</servlet> section:
> 
>   <servlet>
>       [...]
>       <load-on-startup>1</load-on-startup>
>   </servlet>
> 
> The number specified determines the order the servlets are instantiated at
> startup (if you instantiante more than one).
> 
> Greetings
> 
> Andreas Mohrig
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 18, 2003 5:00 PM
> To: [EMAIL PROTECTED]
> Subject: Automatically instantiate Servlet
> 
> 
> Hi,
> 
> usually Tomcat Servlets are instanciated after a webapplication is
> accessing
> its url first time. Is there a method of automatically do this? Can I tell
> Tomcat to instanciate a servlet directly after startup using a config file
> (web.xml, server.xml)?
> 
> If the answer is yes, can anybody provide an example?
> 
> Cheers,
> Ralf
> 
> -- 
> NEU FUR ALLE - GMX MediaCenter - fur Fotos, Musik, Dateien...
> Fotoalbum, File Sharing, MMS, Multimedia-Gru?, GMX FotoService
> 
> Jetzt kostenlos anmelden unter http://www.gmx.net
> 
> +++ GMX - die erste Adresse fur Mail, Message, More! +++
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++


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

Reply via email to