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 life cycle?

Answer Posted / giridhar gangapatnam

Life Cycle of Servlet:

1.Servlet Loading.
2.Servlet instantiation:
After Servlet instantiation and before calling init() method
ServletConfig object is created by Container.
3.Servlet initialization: At that time init() method is called.
4.Request processing:In this stage service() method is called
and at that time Request and Response objects are created by
Container.
5.Servlet deinstantiation:At this stage destroy() method
will be called.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is servlet and list its types?

1011


How to handle exceptions thrown by application with another servlet?

1033


How do servlets work?

975


What is servlet in web technology?

984


How can the session in servlet can be destroyed?

1122


What is the process for chaining servlet?

991


What’s the use of the servlet wrapper classes??

1062


What are the different methods of session management in servlets?

942


Is java servlet still used?

994


What is webservlet?

950


What are the types of Session Tracking ?

1083


What is api in servlet?

961


Explain the difference between generic servlet and http servlet?

940


What is difference between get and post method?

1003


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

1029