• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Web Server & Servlets

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1.Please give me the answer for the question "What is a web server?"
2.What is the difference between HttpServlet & GenericServlet?
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?


 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1.Webserver is a server which can take request from user
process it and sends back the response.
It can handle multiple requests.
2.HttpServelt is a class and it can work with http protocol.
where as genericservlet is a also class but it can work with
any other protocols.
some methods and functionalities we dont have in generic servlet
which we have in the httpservlet ex- doget,dopost.etc.

------------------
 
Ew. You guys are ugly with a capital UG. Here, maybe this tiny ad can help:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic