1)Webserver is the one which serves the webpages.
It can be HTML,DHTML,ASP,
JSP,PHP etc...
A Webserver hosts the websites.
2)An Http
servlet extends HttpServlet class and involves HTTP protocol. It is used to serve Http related requests and generate Http Response.
A Generic servlet can help in implementing any other protocol for example FTP also Like the class hierarchy is
Generic Servlet
HttpServlet extends this Generic Servlet
Mahesh
Originally posted by jyotsna varma:
1.Please give me the answer for the question "What is a web server?"
2.What is the difference between HttpServlet & GenericServlet?