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
How can you use a servlet to generate a plain text instead of html?
Explain the role of dispatcherservlet and contextloaderlistener.
Should I override the service() method?
What are all the protocols supported by httpservlet?
How do you deal property files in servlet?
What are the mechanisms used by a servlet container for maintaining session information?
What is the use of attribute in servlets?
What is the purpose of inter-servlet communication?
What is getservletcontext?
Explain servlet events?
What if you need to span your transaction across multiple servlet invocations?
Which method is called when reference variable is passed in system.net?
What are the two important api's in for servlets?
What is the major difference between servlet and applet?
Who is responsible to create the object of servlet?