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 varian

RE: Behaviour of load-on-startup=0

2004-03-08 Thread George Sexton
Load on startup should really be deprecated because it duplicates functionality available via context event listeners. 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