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 are the advantages of cookies?
Can you refresh servlet in client and server-side automatically?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What is servlet? Explain
What is http servlet? Explain with the help of an example.
What is servlet mapping?
Write a program to show the functionality of servlets.
How do you find out what client machine is making a request to your servlet
What mechanisms are used by a Servlet Container to maintain session information?
What are the exceptions thrown by servlets? Why?
Why do we have servlet wrapper classes?
What is the use of send redirect () method?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
What is the use of servletconfig interface?
What are common tasks performed by Servlet Container?