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 is a super method?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
What is a heavyweight component?
which class is the wait() method defined in? : Java thread
What are the features of java?
What is the use of :: in java?
Why do we need hashset in java?
How to make a write-only class in java?
Discuss different types of errors that generally occur while programming.
What is abstract class constructor called?
What is difference between path and classpath variables?
What are the legal parameters?
List primitive java types?
What is role of void keyword in declaring functions?
What do you mean by thread safe?