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
Which class is the superclass for all the classes?
What is computer compiler?
How to split a string in java?
Why set is used in java?
What is difference between string and new string?
Tell me a few examples of final classes defined in Java API?
Why java is not 100% object-oriented?
How does varargs work in java?
What is the use of using enum to declare a constant?
What is the indent key?
Does google use java?
How do singleton patterns work?
Explain about core java?
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.
What are the steps involved to write rmi based programs?