Meaningless Drivel is fun!*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes doubt in servlet init method 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 » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "doubt in servlet init method" Watch "doubt in servlet init method" New topic
Author

doubt in servlet init method

kavitha vasu
Ranch Hand

Joined: Feb 22, 2007
Posts: 70
Hi

What is the purpose of super.init(config) in my servlets init(ServletConfig config) method


is it needed always?

also,
what is the difference between init() and init(ServletConfig config)

kindly explain me, it is very confusing.

Thanks in advance
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Please read this entry in the Servlets FAQ.


[My Blog]
All roads lead to JavaRanch
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
The Servlets FAQ has an entry on this: http://faq.javaranch.com/java/ServletsFaq#4


Ping & DNS - my free Android networking tools app
 
wood burning stoves
 
subject: doubt in servlet init method
 
Similar Threads
why init() method is not final?
init method of Servlet
init(ServletConfig)
init() method in a Servlet's lifecycle.
Clarification abt init()