This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Init method with,without argument Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Init method with,without argument" Watch "Init method with,without argument" New topic

Init method with,without argument

rex tony
Ranch Hand

Joined: Aug 29, 2007
Posts: 159
i couldn't understand the difference between init(),init(servletConfig) in Servlet.
Devendra Joshi

Joined: Apr 21, 2008
Posts: 8
One is for the container to call and the other is for you to override (the one without parameters).

Deven<br />SCJP 5 (93%), SCWCD 5(96%), SCBCD 5(98%), SCEA 5 PART-1(96%), Waiting for assignment
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

This FAQ will help.

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: Init method with,without argument
It's not a secret anymore!