> Purav wrote: > > I dun think so you need a super.init(config) call in > the new servlet API. > > > public void init(ServletConfig config) > throws ServletException > { > super.init(config); > } >
The super.init(config) call is definitely required in this case. HttpServlet defines two "init" methods: HttpServlet.init() HttpServlet.init(ServletConfig config) You can override either one of them. If you override the one with no arguments, the HttpServlet saves the config argument for you. If you override the one that takes a ServletConfig argument, then you are responsible for calling super.init(config). This all sounds a lot more complicated than it really is, take a look at the source code if you're curious. -- Christopher St. John [EMAIL PROTECTED] DistribuTopia http://www.distributopia.com ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html