wood burning stoves
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Why HttpServlet is abstract ? 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 "Why HttpServlet is abstract ?" Watch "Why HttpServlet is abstract ?" New topic

Why HttpServlet is abstract ?

Ganesh.P Ram
Ranch Hand

Joined: Dec 22, 2005
Posts: 41
Any guesses as to why HttpServet class is abstract ?
None of the methods in the class are abstract. So why is the class abstract.
Is it bcos we shudnt instantiate the class ?

Steve Hicks

Joined: Sep 22, 2005
Posts: 20
I guess that HttpServlet class was made an abstract since it is not much use on it own.

You need to overwrite one method (normally doGet or doPost or both)

SCJP 1.4, SCWCD 1.4
I agree. Here's the link: http://aspose.com/file-tools
subject: Why HttpServlet is abstract ?
It's not a secret anymore!