Answer Posted / prince singh
Guys 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)
This services method internaly call 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 common methods that are included in the http servlet class?
Name the packages that work with servlet?
What is the purpose of dispatcherservlet properties?
What is the difference between servlet and jsp?
Explain the difference between servlet and cgi?
Whether we can get deadlock situation in servlets?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
What is java servlet session?
What do you mean by session tracking?
What are the phases of a servlet life cycle?
What are some advantages of storing session state in cookies?
Write a hello world program using servlets.
What do you mean by servlet context?
Is servlet synchronized?
Tell us something about servletcontext interface.