hi friends, mines is a strange problem though i have been doin Servlets for quite a while now i couldnt figure what answer is expected when you try to fill out the form for free web space at www.mycgiserver.com i tried all the possible may be answers but i couldnt pls help the Question Goes "Which class dose servlet usually inherit from ??(Complete name)
Originally posted by Amit Roy: hi friends, mines is a strange problem though i have been doin Servlets for quite a while now i couldnt figure what answer is expected when you try to fill out the form for free web space at www.mycgiserver.com i tried all the possible may be answers but i couldnt pls help the Question Goes "Which class dose servlet usually inherit from ??(Complete name)
Well, I think Servlet itself is an interface...GenericServlet implements Servlet. According to the API ALL servlets must implement Servlet interface. A lot of examples extend GenericServlet and hence implement Servlet. Take note of: http://java.sun.com/products/servlet/2.3/javadoc/index.html I hope that helps! Jason