This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes init() about servlet life cycle ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "init() about servlet life cycle ?" Watch "init() about servlet life cycle ?" New topic
Author

init() about servlet life cycle ?

Rajesh Khan
Ranch Hand

Joined: Oct 16, 2011
Posts: 230
When a servlet is loaded which one is actually called - I still cant get this concept ??


or

public void init()
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Which one is part of the Servlet interface? What do you deduce from that?
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
What do you deduce from that?


Also, have you read the javadocs of the GenericServlet.init() method?
Vicky Vijay
Ranch Hand

Joined: Apr 23, 2008
Posts: 125
Rajesh,

Refer the below link,

SERVLET LIFE CYCLE

http://www.servletworld.com/servlet-tutorials/servlet-life-cycle.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: init() about servlet life cycle ?
 
Similar Threads
Servletcontext object to actionservlet in struts
Unable to get init parameters in servlet
why init() method is not final?
Starting a thread when an application is started
Constructor in servlets