The ServletResponse represents the response which is sent back to the user. The servlet container creates a ServletResponse object and passes it as an argument to the servlet's service method. … [Read more...]
welcome-file-list in web.xml of Servlets
You could have seen the <welcome-file-list> tag in web.xml of your project and could have wondered the use of it. In this tutorial we will learn how to use this tag effectively. … [Read more...]
Difference Between GenericServlet and HttpServlet
Generic Servlet: Generic Servlet is protocol independent(i.e)it can handle all types of protocols like http, ftp, smtp etc. GenericServlet class is direct subclass of Servlet Interface. … [Read more...]