Howdy, <shakes head> Two bad questions or bad phrasing of questions. 1. Servlet is an interface, implementing classes must have 5 methods not 2. 2. Servlet is an interface which does not extend other interfaces. </shakes head>
If you're talking about GenericServlet, you should say so. Even then, question 1 is wrong, because to extend GenericServlet you must only override one method, the service() method. GenericServlet extends Object. If you're talking about HttpServlet, which I imagine is the case, again question 1 is wrong, because to extend HttpServlet you must only override one method, e.g. doGet, not two methods. HttpServlet extends GenericServlet. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Ruben Gamez [mailto:[EMAIL PROTECTED] >Sent: Friday, October 17, 2003 4:33 PM >To: Tomcat Users List >Subject: RE: Java/JSP/Servlet Programmer > >Ok... here's two questions... > >1. Off the top of your head, what two methods are required in a Servlet? >What two parameters do they take? > >2. What does a Servlet extend? This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
