wood burning stoves 2.0*
The moose likes Servlets and the fly likes init() in HttpServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "init() in HttpServlet" Watch "init() in HttpServlet" New topic
Author

init() in HttpServlet

Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
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

Joined: Nov 02, 1999
Posts: 107
did you check out this post? http://www.javaranch.com/ubb/Forum7/HTML/001528.html
hope that helps
paul
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: init() in HttpServlet