Bookmark Topic Watch Topic
  • New Topic

Difference between init() and init(ServletConfig)  RSS feed

 
Ujwwala tembe
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello All,

Please tell me the difference between these two actually what I know is there is a need for serveletconfig or config parameters and all but why there is exact need for init() override as if we override init() how we can get servletconfig from genericservlet ? is it through getserveletConfig method of genericServlet() ?

Please clarify my doubt?

Thanks,
Ujwwala
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please see the Servlets FAQ (Link at top of Servlets forum) where this question has already been answered.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!