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

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

578


What is the difference between long.class and long.type?

571


What is the immediate superclass of the applet class?

605


Why does the option tag render selected=selected instead of just selected?

680


What are the different class loaders used by jvm?

604






Is the ternary operator written x : y ? Z or x ? Y : z ?

639


A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

1816


What are the purpose of introspection?

680


What is abstract schema?

557


What is the difference between the string and stringbuffer classes?

547


Why do threads block on i/o?

686


What are the sequence of steps to write pub or sub model kind of application?

1895


Is the infobus client side only?

615


What is a sessionfactory? Is it a thread-safe object?

685


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

573