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 do you mean by default initialization in java servlet?
What exception should be thrown when servlet is not properly initialized?
Define the life cycle of a servlets.
Is servlet a controller?
When servlet is loaded?
What's the advantages using servlets than using cgi?
What are advantages of servlets over cgi?
How do you communicate in between Applets and Servlets?
How can you use a servlet to generate a plain text instead of html?
What are the different methods of session management in servlets?
What are the difference between RMI and Servlets?
What is servlet mapping?
Explain url encoding?
What are the different methods involved in generic servlet?
How can the session in servlet can be destroyed?