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
What is session tracking?
Is that servlet is pure java object or not?
What do you mean by web applications? Explain web application directory arrangement?
What is the process for chaining servlet?
Write a hello world program using servlets.
What are the advantages of Servlet over CGI?
Why do we need a constructor in a servlet if we use the init method?
What is the difference between portlet and servlet?
What if you need to span your transaction across multiple servlet invocations?
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
How to find whether a parameter exists in the request object?
What does the term localization refer to?
What’s the difference between sendredirect and forward methods
What are different ways for servlet authentication?
What is generic servlet class?