Hi!
My first guess: in that way, you can write a Servlet WITHOUT write ALL the
abstract methods. The concrete methods of HTTPServlet implements the
DEFAULT and EXPECTED behavior.
Angel Java Lopez
@ajlopez
On Sun, Jan 11, 2015 at 4:52 AM, sreya...@gmail.com wrote:
I have been browsing the
I have been browsing the source code of Tomcat and would like to know why the
javax.servlet.HTTPServlet class has a non abstract implementation of the doGet,
doPost, etc methods. Why not just declare them abstract ? I mean HTTPServlet is
an abstract class so why take the trouble to write
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Angel,
On 1/11/15 3:43 AM, Angel Java Lopez wrote:
My first guess: in that way, you can write a Servlet WITHOUT write
ALL the abstract methods. The concrete methods of HTTPServlet
implements the DEFAULT and EXPECTED behavior.
No, the concrete