we r taking
<load-on-startup>0</load-on-startup>
<load-on-startup>1</load-on-startup> in deployment
descripter for loading servlets like serv1 N serv2? so 'll
it take serv1 or serv2
Answer Posted / mahesh babu puppala
Servlets with lower values are loaded before servlets with higher values. So servlet with 0 load-on-startup value will load first and servlet with value 1 will load after that.
so servlet1 first loaded then servlet2 will be loaded.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is private static class in java?
What does a method signature consist of?
What is the purpose of static methods and variables?
Can we initialize the final blank variable?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?
What is a function argument in java?
What does a void function return?
What is nested interface?
What are the different ways of creating thread?
Why is java not 100% pure oops?
What invokes a thread's run() method in java programming?
What is difference between string and stringbuffer?
Is 64bit faster than 32 bit?
Can this keyword be used to refer static members?