Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

init() in HttpServlet  RSS feed

 
Bob Moranski
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have seen either
public void init(){} and public void init(aServletConfig){} used as init for HttpzServlet. Which one is correct? And why two methods?
Thanks
 
Paul Wetzel
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
did you check out this post? http://www.javaranch.com/ubb/Forum7/HTML/001528.html
hope that helps
paul
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!