permaculture playing cards*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Init method with,without argument" Watch "Init method with,without argument" New topic
Author

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
Greenhorn

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é
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

This FAQ will help.


[My Blog]
All roads lead to JavaRanch
 
 
subject: Init method with,without argument
 
Similar Threads
loading of static attributtes
Calling init()
Init and Constructor
init methods of Servlets: need clarification
ServletA extend ServletB right or wrong ?