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
How many characters is 16 bytes?
What is fail first in java?
What is called module?
How dead lock situation occurs in java and how you can identify it?
Why singleton class is used in java?
In how many ways we can create threads in java?
Does printwriter create a file?
What is final?
Which language is java?
What is the final variable?
What is the += operator called?
How to perform linear search in java?
Which java ide is used the most?
Can we assign integer value to char in java?
How many bits is a float?