| Author |
Generic Servlet,HttpServlet
|
rex tony
Ranch Hand
Joined: Aug 29, 2007
Posts: 159
|
|
|
How they call Generic Servlet,HttpServlet as an Abstract class?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56191
|
|
|
They don't. Why do you ask?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Pradipta Ghosh
Greenhorn
Joined: Nov 03, 2007
Posts: 7
|
|
They don't.
In the book HeadFirst Servlet & JSP, authors described the GenericServlet class & HttpServlet class as abstract class (Page 98). Can you please explain??
|
Pradipta Kumar Ghosh
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12268
|
|
Whats to explain? Look at the API! You will never have a reason to try to create an instance of either one anyway. A servlet programmer has to extend HttpServlet to accomplish anything. Bill (ps that is abstract, not Abstract - remember, Java is case sensitive)  [ November 16, 2007: Message edited by: William Brogden ]
|
Java Resources at www.wbrogden.com
|
 |
 |
|
|
subject: Generic Servlet,HttpServlet
|
|
|