aspose file tools
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 Head First Android 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: 14688

Please read this entry in the Servlets FAQ.

[My Blog]
All roads lead to JavaRanch
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42956
The Servlets FAQ has an entry on this:
subject: doubt in servlet init method
It's not a secret anymore!