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

Explain url encoding?

1036


Write a servlet to upload file on server.

1157


How to create war file?

1227


What is the functionality of actionservlet and requestprocessor?

1141


Which method is called when reference variable is passed in system.net?

2454


Explain the servlet context.

1209


what do you understand by url rewriting?

1007


Tell us something about servletcontext interface.

1143


How can we invoke another servlet in a different application?

1265


Why doesn’t a servlet include main()? How does it work?

1214


Should I override the service() method?

1139


What is servlet and its advantages?

1106


How can we refresh automatically when new data is entered into the database?

1150


What are important features of Servlet 3?

1151


Why servlet is mostly used?

1288