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
Why servlet is mostly used?
Can filter be used as request or response?
What is load-on-startup in servlet?
What are the advantages of servlets over traditional cgi?
What are the different mode that servlets can be used?
What are the benefits of using servlet over cgi?
Explain the war file?
What are the different methods of session management in servlets?
What is cookie? Why is cookie used?
Explain session tracking and its importance?
Explain the methods of request dispatcher in servlet?
Whether we can get deadlock situation in servlets?
What are the types of servlets? Explain
Explain jsessionid and when is it created?
What is servlet used for?