File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!