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

servlet has not any main method in it how does it work by
JVM?

Answer Posted / srinivasa kumar meda

The life cycle of a servlet is controlled by the container
in which the servlet has been deployed. When a request is
mapped to a servlet, the container performs the following steps.

If an instance of the servlet does not exist, the Web container
1. Loads the servlet class.
2. Creates an instance of the servlet class.
3. Initializes the servlet instance by calling the
init method.
Invokes the service method, passing a request and response
object.

Is This Answer Correct ?    24 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is external entity?

1049


What is use of final keyword in java?

1051


How will you explain load() and get() methods?

1062


What is B2B?

1023


What is java servlet container?

987


What is japplet in java?

1075


What are the components of awt in java?

1001


What is considered as a web component?

1123


What is document root?

973


What are web technologies in java?

917


Is java is fully object oriented?

1016


What is api in j2ee?

927


What is the mvc on struts?

960


What is callback methods Component methods called by the container to notify the component of important events in its life cycle?

1003


whay java does not support bass by reference

3030