Answer Posted / abdul
I just wanted to update my answer:-
Methods in HttpServlet
Http methods which can be implemented by Service method are:
---------------------
doGet().
doPost()
doPut().
doTrace()
doDelete()
doHead()
doOptions()
* Note :doConnect() is not present in HttpServlet. The
developers of the API didn't feel the use of doConnect in
Servlet.
Other methods:
Service(HttpServletRequest,HttpServletResponse)
getLastModified(HttpServletRequest)
Service(ServletRequest,ServletResponse)
Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers
Why doesn’t a servlet include main()? How does it work?
What are the types of an http request?
How can you push data from an Applet to a Servlet?
What is the dispatcher servlet?
Describe the phases of servlet lifecycle?
What are all the advantages of servlet over cgi?
What is the workflow of a servlet?
Which HTTP method is non-idempotent?
What do you mean by scope object and what are its types?
What is the use of welcome-file-list?
Which protocol will be used by browser and servlet to communicate
What is meant by Servlet? What are the parameters of service method?
What are the differences between servlet context vs servlet config?
Define declaration.
What is servlet initializer?