• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

difference between genericServlet & httpServlet

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi whats the main difference between Generic & httServlet??
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"javaCloud inEarth",
please see the warning on your display name here.

Accounts with invalid display names get deleted, and I could have spent the time answering your question rather than asking you to change your display name

thanks
Dave.
 
Ranch Hand
Posts: 429
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HttpServlet extends GenericServlet

http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/GenericServlet.html

http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServlet.html

-Yuriy
 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HttpServlet includes support for the HTTP protocol like HTTP response codes, methods to handle the HTTP verbs (GET, PUT, POST) and functionality to automatically parse the HTTP headers and expose these values etc.

A basic servlet provides CGI type support... you can use your own protocol and handle it within the service() method.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic