load-on-startup can specify an (optional) integer value. If the value is 0 or greater, it indicates an order for servlets to be loaded, servlets with higher numbers get loaded after servlets with lower numbers.
I found this statement when I searched about load on startup. I can not clear how it works. Please show me an example for servlets with different load on startup number order.