A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jul 02, 2007
Jul 02, 2007 03:09:00
hi , if we want to write any
this should be extends from
it is an abstract class but in our class we are not implementing any methods. and we are not declaring our class as abstract why it is.
Joined: Nov 29, 2005
Jul 02, 2007 03:52:00
Originally posted by vasanthrao kumarbabu:
we are not declaring our class as abstract why it is.
There are no methods in HTTPServlet class which are abstract.So no need to declare the class abstract which is extending the HTTPServlet class.
Joined: Dec 11, 2004
Jul 02, 2007 03:54:00
If you want your servlet to do something, you'll have to override at least one of the methods. Usually this is doPost, doGet, or both.
How to ask a question...
Simple Servlet Examples
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
Regarding abstract class
Why HttpServlet is abstract ?
why we not override method of HttpServlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015