Answer Posted / ashok kumar biswal
Mates,there are several methods present in HttpServlet
1.void doGet(),
2.void doPost(),
3.void doDelete(),
4.void doHead(),
5.void doOptions(),
6.void doTrace(),
7.void doPut(),
8.long getLastModified(),
9.public service(ServletRequest request,ServletResponse)
protected service method calls to the public service method.
10.protected service(HttpServletRequest request,HttpServletResponse)
protected service method calls to the doGet or doPost method according to the users requirement.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is lazy loading and what is Generic Servlet Class?
How do cookies work in servlets?
Explain the methods of request dispatcher in servlet?
How to get the server information in a servlet?
What are the supporting protocol by HttpServlet ?
What are the mechanisms used by a servlet container for maintaining session information?
How can you create a session in servlet?
Which protocol will be used by browser and servlet to communicate
What’s the difference between genericservlet and httpservlet?
What's the difference between authentication and authorization?
What are the types of an http request?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
Define the servlet mapping.
What is http servlet? Explain with the help of an example.
What are different ways for servlet authentication?