The load-on-startup controls the sequence of servlet loading. It requires a positive number. If the value is not a positive number , the server can load it at any time. From your post , we can get to know the servlet 1 is loaded before servlet 2. The servlet 3 and 4 can be loaded at anytime.