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

Explain life cycle of a Servlet?

Answer Posted / janet

1. a server loads and initializes the servlet by init()
method.
2.the servlet handles zero or more client's requests
through service() method .
3. the server removes the servlet through destroy() method.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define declaration.

1122


What are the important functions of filters?

1200


What are the differences between forward() method and sendredirect() methods?

1080


What's the advantages using servlets than using cgi?

1047


What is the difference between jsp and servlet life cycle?

1284


Is servlet thread safe?

1041


What is api in servlet?

1073


Why HttpServlet class is declared abstract?

1278


What are the features added in Servlet 2.5?

1319


What are its drawbacks of cgi?

1191


What is the directory structure of a war file?

1216


Explain load on start-up and its importance?

1192


Explain the methods of request dispatcher in servlet?

1101


How do servlets work?

1104


How is the get () method different from the post() method?

1036