William Brogden wrote:Building HttpServlet on top of GenericServlet is pretty typical Java practice.
The HttpServlet service method provides specific recognition of HTTP methods, dispatching to doGet or doPost etc for the HTTP request as required. Naturally the only default behavior for any of these methods is the "not supported" error. Thats why HttpServlet is abstract and you must implement your own extension of the actions you want your application to support. There is utterly no reason to override the HttpServlet service method.
Bill
Interesting point. Overriding the HttpServlet method is out of the question , I was merely establishing the fact that HttpServlet actually implements the service abstract method of the GenericServlet class. Furthermore I am having a bit difficulty understanding your reason for why the HttpServlet class was made abstract. I hope you can shed some light on that..