Why does most servlets extend HttpServlet?

Answer Posted / surajkumar.java

Almost all servlets written today are designed to use the HTTP
protocol, so most servlets currently extend the
javax.servlet.http.HttpServlet class.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to pass parameters in RMI?

1992


What is an abstract method?

813


What is table mutation and how do you avoid it?

2162


For which statements does it make sense to use a label?

821


Why a component architecture for the java platform?

806


Why doesn’t the focus feature on the tag work in every circumstance?

794


difference between  ejb,struts,hibernate,spring and jsp

2592


What is TL and its use?

2226


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

797


Which are the different segments of memory?

847


How would you detect a keypress in a jcombobox?

900


How substring() method of string class create memory leaks?

793


What is the highest-level event class of the event-delegation model?

851


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

2787


What is synchronization and why is it important?

782