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 are the types of servlets? Explain

1245


Explain get and post.

1094


What is the effective way to make sure all the servlets are accessible only when user has a valid session?

1041


Why HttpServlet class is declared abstract?

1198


What are the uses of servlet

1150


What is the difference between sendredirect() and forward() in a servlet?

998


What is the difference between genericservlet and httpservlet

1066


How to get the path of servlet in the server?

992


Explain the difference between servletconfig and servletcontext in servlet?

1024


What are the important functions of filters?

1121


What is the capacity the doget can send to the server?

1062


What are some disadvantages of storing session state in cookies?

1008


What's the difference between authentication and authorization?

1125


Why is a constructor needed in a servlet even if we use the init method?

1121


Difference between forward() method and sendredirect() method ?

1016