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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "doubt in servlet init method" Watch "doubt in servlet init method" New topic

doubt in servlet init method

kavitha vasu
Ranch Hand

Joined: Feb 22, 2007
Posts: 70

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

is it needed always?

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

kindly explain me, it is very confusing.

Thanks in advance
Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

Please read this entry in the Servlets FAQ.

[My Blog]
All roads lead to JavaRanch
Ulf Dittmer

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

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