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

What is a server side include (ssi)

1158


Name the different ways of session tracking.

1030


What is the use of send redirect () method?

1093


How will two or three servlets interact or communicate with each other?

1450


What is a generic servlet?

958


What is Request Dispatcher?

1442


Write a command to get actual path of a servlet to the server?

1034


If some new data has entered the database, explain how can a servlet refresh automatically?

1296


What is a servlet-to-servlet communcation?

1181


What do you mean by mime type?

979


Can we get PrintWriter and ServletOutputStream both in a servlet?

1149


Which are the different ways you can communicate between servlets?

1001


What is the element?

1051


What if you need to span your transaction across multiple servlet invocations?

1092


How does java thread pool work?

1120