Behaviour of load-on-startup=0

2004-03-08 Thread Michael Prescott
I stumbled on what I think is a small difference in Tomcat's behaviour from the Servlet spec. Looking at the code, it seems to affect both Tomcat 4 and 5. In short, the servlet specs (2.3 and 2.4) says that a servlet with load-on-startup value set to 0 should load before those with values of 1

RE: Behaviour of load-on-startup=0

2004-03-08 Thread George Sexton
remember correctly) don't process entries with a value less than 0. My practical advice to you is to look at context event listeners. -Original Message- From: Michael Prescott [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: Behaviour of load

RE: Behaviour of load-on-startup=0

2004-03-08 Thread Shapira, Yoav
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