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
How do you run a servlet?
What are the uses of servlet and what is servlet chaining?
When Servlet is unloaded?
What is servlet attributes and their scope?
Explain get and post.
What is called Session Tracking?
How to read request headers from servlets?
What is difference between server and servlet?
Explain url encoding?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
Explain mvc pattern.
Difference between httpservlet and generic servlets?
Name the different ways of session tracking.
Explain the difference between get and post method in servlet?
What do you mean by the servlet chaining?