WHAT IS SERVLET? Servlet technology is used to create web application resides at server side and generate web pages. Servlet technology is robust and scalable because of java language.Before servlet ,CGI(common gateway interface) scripting language was popular as a server side programming language.But there was many disadvantages of this technology. There are many interfaces and classes in the servlet API such as servlet,GenericServlet,HttpServlet,ServletRequest,ServletResponse etc. Servlet is a class that extend the capabilities of the servers and respond to any type of request. Servlet is a web component that is deployed on the servers to create dynamic web page. HOW WEB SERVERS WORKS? To retrieve a static page , a user enters a url in to a browser. Browser generates an HTTP request to appropriate server. Web server maps the request to the particular file and that file is returned to the browser in an HTTP response. HTTP header in resp...