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
Why singleton is not thread safe?
What is thread start?
What are thread local variables?
Which category the java thread do fall in?
Does constructor be static?
What does the @override annotation do?
What are the two ways in which thread can be created?
Is it possible to specify multiple jndi names when deploying an ejb?
What is string substring?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
What is the difference between form & report?
Explain about features of local inner class?
How many bits is a 64 bit byte?
What is the difference between a synchronized method and a synchronized block?
What is parsing a string?