| Author |
why HttpServlet do not implemnet any super interface
|
Rauhl Roy
Ranch Hand
Joined: Aug 01, 2006
Posts: 401
|
|
Hi, van you tell me why does HttpServlet do not implemnet neighter super Interface nor Super Class'(Abastarct) methods. doubts 1/ does container do the work which we are supposed to do? 2/ does it mean this rule is applicable to all of Java Programming? Plese give me any other information if you have with you in this regard. Rahul [ November 29, 2006: Message edited by: Bear Bibeault ]
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
It is up to the container creators to implement those methods. If you are curious, the source code to Apache Tomcat can be download for inspection. http://tomcat.apache.org/svn.html We (application developers) only need to implement the methods that we wish to override. Typically, these are: init, doPost, and doGet.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
 |
|
|
subject: why HttpServlet do not implemnet any super interface
|
|
|