| Author |
doubt with generic servlet
|
yuvraj kotegar
Ranch Hand
Joined: Jul 31, 2008
Posts: 120
|
|
i just saw the code for generic servlet. it doesnt have any methods which are abstract in it. all hve method bodies. but what made the developers to mark it abstarct??
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56162
|
|
The Servlet Specification requires it to be abstract. Since it makes no sense to instantiate a non-extended servlet, both GenericServlet and HttpServlet are abstract.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
yuvraj kotegar
Ranch Hand
Joined: Jul 31, 2008
Posts: 120
|
|
Thanks for the quick reply sir
|
 |
 |
|
|
subject: doubt with generic servlet
|
|
|