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
Explain jsessionid?
List the Different types of servlet?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
What are the life cycle methods of a servlet?
What is servlet and its use?
How can an existing session be invalidated?
What is a servlet-to-servlet communcation?
Explain in brief the directory structure of a web application?
what is multiple server?
How do you load an image in a Servlet?
When to use doget() and when dopost()?
What is the difference between servlet and filter?
Which event is fired at the time of project deployment and undeployment?
What is the difference between genericservlet and httpservlet
What exactly are the functions of servlet?