Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Dubut in both GenericServlet and HttpServlet Class

843841Sep 28 2007 — edited Sep 28 2007
Although we had conceptually an abstract Class can't be instantiated even as Derived Class must implement/override all method of an abstract Class,but I have a doubt in employing of both GenericServlet and HttpServlet Class,are as follows.
(1)Even if we can implement GenericServlet/HttpServlet for the user- defined servlet class,that servlet may override merely doGet(),doPost().etc,but not all methods.

(2)How will happend when a Servlet Class implement GenericServlet/HttpServlet,and we aren't stipulating that servlet class as abstract.

May anybody steer me plz?

With Regards
Stalin.G
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 26 2007
Added on Sep 28 2007
1 comment
127 views