GenericServlet « API « JSP-Servlet Q&A

1. GenericServlet in java-2 init methods

GenericServlet class has two init methods. Why is it so?

2. GenericServlet

3. GenericServlet

4. GenericServlet.Init()

6. GenericServlet

7. GenericServlet

8. config object in GenericServlet class

9. Using GenericServlet for FTP

According to the the Javadoc the only method that you must override is service(). You could look at the patterns used in HttpServlet to get some ideas. For the FTP protocol I could see things like doPut(), doGet(), doList(), and so on. You service() method would parse appropriately and call those methods on a FTPServlet. The real issue, as was pointed ...

10. Super class of GenericServlet ?

11. Question on GenericServlet

13. GenericServlet

14. GenericServlet

15. genericservlet

16. GenericServlet

18. Why dont we use GenericServlet

20. GenericServlet error