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?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why servlet is mostly used?

1232


What are the common methods that are included in the http servlet class?

1033


How the servlet is loaded?

1073


Why doesn’t a servlet include main()?

1042


What is string tokenizer?

1075


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

2775


How the typical servlet code look like ?

1222


Can you refresh servlet in client and server-side automatically?

1070


What are the supporting protocol by HttpServlet ?

1188


How do we call one servlet from another servlet?

1038


What is the process to implement doget and dopost methods?

988


Write a program to show the functionality of servlets.

1008


How to create war file?

1159


What are the advantages of servlets over traditional cgi?

1093


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

1104