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
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: 14688

Please read this entry in the Servlets FAQ.

[My Blog]
All roads lead to JavaRanch
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
The Servlets FAQ has an entry on this:
I agree. Here's the link:
subject: doubt in servlet init method
It's not a secret anymore!