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 are the different conditional statements?
Explain the difference between an Interface and an Abstract class?
Why hashcode is used in java?
What is type conversion in java?
How infinite loop is declared?
Why bytecode is called bytecode?
What is an empty string in css?
Where are local variables stored?
What is oop principle in java?
What is the significance of continue jump statement? Explain with an example.
Difference between linkedlist and arraylist.
How many bits is a float?
What do you mean by inner class in java? Explain
Can set contain duplicates?
What is object english?