Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



we r taking <load-on-startup>0</load-on-startup> <load-on-startup>1</load-on..

Answer / 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

we r taking <load-on-startup>0</load-on-startup> <load-on-startup>1</load-on..

Answer / mahesh babu puppala

Servlets with lower values are loaded before servlets with higher values. So servlet with 0 load-on-startup value will load first and servlet with value 1 will load after that.

so servlet1 first loaded then servlet2 will be loaded.

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More Core Java Interview Questions

What is a dynamic array in java?

0 Answers  


can u override the start() method of Thread class

5 Answers  


can u give one sinario when you use Abstract Class and When you use Interface.

5 Answers   ITC Infotech,


Have you used any version control ? if so explain about it?

2 Answers  


whats the purposr of using serialization?

6 Answers  


Explain about version control?

0 Answers  


List implementations of list interface?

0 Answers  


Can You Have Virtual Functions In Java?

0 Answers  


What is the default execution method in java?

0 Answers  


Is assembly language a low level language?

0 Answers  


Explain the difference between abstract classes and interfaces in java?

0 Answers  


how to handle exceptions in core applications?

2 Answers   CSS,


Categories