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...


How servlets can be automatically reloaded?

Answers were Sorted based on User's Feedback



How servlets can be automatically reloaded?..

Answer / sandeep m

The servlet which we want to be loaded automatically on
application deployment or during container startup we need
to configure <load-on-startup>int</load-on-startup> tag for
the servlet. above tag will be in <servlet> tag body.
<load-on-startup> is optional tag. If provided Servlets
will be loaded on application or container startup in the
order of the int value of tag.
If <load-on-startup> tag is not provided servlets are
loaded when first request is received after container
startup or first request after application deployment.

Is This Answer Correct ?    2 Yes 0 No

How servlets can be automatically reloaded?..

Answer / bibek

if in your deployment descriptor or <web.xml> file you have
set <load-on-startup>1</load-on-startup> then it will be
auto matically loaded

Is This Answer Correct ?    2 Yes 1 No

How servlets can be automatically reloaded?..

Answer / niranjanravi

depends on the servlets reload properties.

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Servlets Interview Questions

when the several requests comes to server..how it manage the requests

4 Answers   iGate,


What do you mean by deployment descriptor?

0 Answers  


What is the functionality of actionservlet and requestprocessor?

0 Answers  


i need connection pooling code.....from harpreet.your@gmail.com

1 Answers   IBM,


Difference between web container & web server........... Difference between web server & application server?????????

8 Answers   TCS,


What are session variable in servlets?

0 Answers  


How do you invoke a Servlet? What is the difference between doPost method and doGet method?

0 Answers  


Which exception is thrown if the servlet is not initialized properly?

0 Answers  


Name the different ways of session tracking.

0 Answers  


How can a servlet be used to generate plain text instead of html?

0 Answers  


What is the major difference between context parameter and context attribute?

0 Answers  


Can we write a constructor for a Servlet class ? if yes how ? if no why not ?

10 Answers  


Categories