Hi, I have a confusion about loads on startup in web.xml, as per my knowledge, if we give the value 1 then , that
servlet will execute first, and if the value is 2 then servlet will execute, after the first servlet, as here,
this is my web.xml:
this is my first.java
this is my second.java
so here second servlet's value is 2 in loads on startup in web.xml, if I try to execute second servlet, then it printed, mates, so I can not understand , it should print hello mates because first servlet's value is 1, so first servlet should print first, and also, I can not feel the less timing, means loads on startup consumes less time, please clearify this.