tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Behaviour of load-on-startup=0
Date Mon, 08 Mar 2004 19:16:04 GMT

Hi,

>Load on startup should really be deprecated because it duplicates
>functionality available via context event listeners.

I wouldn't rush to this conclusion at all.  The Servlet's init and
destroy methods are the appropriate place to configure the servlet.

>As a warning, there is some variance in servlet engines. The spec says
0
>starts before 1, logically -1 should load before 0. In fact, some
>containers (like Websphere if I remember correctly) don't process
>entries with a value less than 0.

Yes, there is some variance as you say, but the spec as quoted by Senor
Prescott is clear and doesn't follow your "logically" statement above.

Yoav Shapira



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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message