File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes  HttpServlet life cycle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark " HttpServlet life cycle" Watch " HttpServlet life cycle" New topic

HttpServlet life cycle

Rupesh Raut

Joined: Nov 29, 2003
Posts: 5
what is HttpServlet life cycle?
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
If you search this forum or the internet you will find lots of info. Here it is briefly...
1. Init
2. Service (processes 0 or more requests via doGet, doPost)
3. destroy.
[ February 04, 2004: Message edited by: Bosun Bello ]

So much trouble in the world -- Bob Marley
I agree. Here's the link:
subject: HttpServlet life cycle
It's not a secret anymore!