File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes diff between http generic servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "diff between http generic servlet" Watch "diff between http generic servlet" New topic

diff between http generic servlet

raja vishnu murthy

Joined: Jul 09, 2004
Posts: 17
i know the differance httpservlets are useful to http protocols, but generic servlets are useful to any type of protocol, why, httpsevlet is extended to genericservlet.. so, httpservlet is child, so it must get all properties from generic..why to only http protocols
Reghu Ram Thanumalayan
Ranch Hand

Joined: Oct 21, 2003
Posts: 193
Could you rephrase your question with more clarity ?

From what i can gather from your question, Generic Servlets are applicable for any protocol, so they have all the common attributes applicable for all types of servlets.

HTTPServlets extend Generic servlets and add the http specific attributes to it. Similarly any other protocol servlet can extend Generic Servlet and add its own protocol specific things to it. HTH.

Cheers,<br />Reghu Ram T<br /> <br />SCJP 1.4 - 98 %, SCBCD 1.3 - 94 %, SCMAD 1.0 - 92 %
I agree. Here's the link:
subject: diff between http generic servlet
It's not a secret anymore!