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 / om
It 'll take serv2, b'coz <load-on-startup>0</load-on-startup>
means no tag. so first it'll goes to serv2.
Normally the servlets 'll loaded after getting the request
from the client.
if the servlets has to execute before coming the request we
need to take<load-on-startup>1</load-on-startup>.
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What does system out println () do?
What is the purpose of lambda expressions?
How do you remove duplicates in java?
How big is a boolean?
What is bubble sorting in java?
What is mysql driver class name?
What is api in java?
Write a java program to check if a number is prime or not?
Explain inner classes ?
How to create a base64 decoder in java8?
What methods are used in Servlet?Applet communication?
What are the kinds of polymorphism?
What is difference between hashset and hashmap in java?
What is the purpose of the strictfp keyword?
How does indexof work?