• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt in servlet init method

 
kavitha vasu
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

What is the purpose of super.init(config) in my servlets init(ServletConfig config) method


is it needed always?

also,
what is the difference between init() and init(ServletConfig config)

kindly explain me, it is very confusing.

Thanks in advance
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read this entry in the Servlets FAQ.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Servlets FAQ has an entry on this: http://faq.javaranch.com/java/ServletsFaq#4
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic