File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes servlets life cycle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlets life cycle" Watch "servlets life cycle" New topic
Author

servlets life cycle

Ravi kapa
Ranch Hand

Joined: Jan 05, 2012
Posts: 89
Hi this is ravi,i read the head first servlets and jsp book.It says that container calls are invoke init,service,destroy methods on servlets so i have a doubt that thease are container methods or servlets methods.Can any one suggest me please
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19693
    
  10

They are methods of the servlet. The container creates instances of the servlets and calls those methods on the instances.
Ravi kapa
Ranch Hand

Joined: Jan 05, 2012
Posts: 89
thanq for the immediate reply paul..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlets life cycle
 
It's not a secret anymore!