File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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 ?


Ganesh
Steve Hicks
Greenhorn

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 ?