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
I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?
Is it good idea to create servlet constructor?
What do you mean by the servlet chaining?
How a servlet is unloaded?
Which application server is best for java?
What methods do you use in servlet - applet communication?
What are the different session tracking techniques?
How is the get () method different from the post() method?
What is setattribute in servlet?
Explain the differences between jsp and servlet.
Whether we can get deadlock situation in servlets?
Why the container loads server at the application startup and how?
Can we use threads in Servlets?
Describe the phases of servlet lifecycle?
What are the ways to handle multi-threading in servlets?