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
How do you deal property files in servlet?
What is the use of servlet context?
How is a servlet implemented in code?
Whats the advantages using servlets over using CGI?
Is servlet a server side scripting language?
What is the use of request dispatcher interface?
What do you mean by the servlet chaining?
What is the difference between the include() and forward() methods?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What do you mean by mime type?
What are different ways for authentication of servlet?
What is api in servlet?
How can we perform any action at the time of deploying the project?
How native code can be used in a servlet?
If my browser does not support cookie, and my server sends a cookie instance what will happen?