-1 in web.xml means that the preload sequence is unimportant. Preload does
however still happen.
To achieve load-on-server-startup, using web.xml is not enough, since this
only causes the servlet to be loaded when the application is started, which
may not be before it is accessed the first time. Therefore, the same setting
must be applied at the application level, too (web-site.xml)
-----Original Message-----
From: David Sierra Fernandez <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Cc: Orion-Interest <[EMAIL PROTECTED]>
Date: Mittwoch, 16. August 2000 16:28
Subject: Re: posting fourth time but did not got any answer
>
>In web.xml, nested in servlet tag you have a tag called <load-on-startup>
>where you specify the priority number which your servlet will have.
>
>a value of -1 will not load on startup your servlet.
>
>Hope this helps.
>
>
> -------------------------------------------------------------
> David Sierra Fern ndez
> Ingeniero Tecnico de Telecomunicaci�n
> AULA RETECAL (CEDETEL) Universidad de Valladolid
> Campus Miguel Delibes E-Mail: [EMAIL PROTECTED]
> 47011 Valladolid (SPAIN)
> --------------------------------------------------------------
>
> -- Sierr@ --
>
>On Sat, 12 Aug 2000, Khan Kamran wrote:
>
>> Hi all,
>>
>> I want to know how i can run my servlet at orion server startup and
>> shutdown.
>>
>> Pleaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas
>> helllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllp
>>
>> Thanks
>> Kamran
>>
>
>