Bookmark Topic Watch Topic
  • New Topic

Difference between init() and init(ServletConfig)

 
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
Pie
Posts: 65335
97
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.
 
    Bookmark Topic Watch Topic
  • New Topic