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
What exception should be thrown when servlet is not properly initialized?
If some new data has entered the database, explain how can a servlet refresh automatically?
What are all the ways for session tracking?
Is servlet synchronized?
If a servlet is not properly initialized, what exception may be thrown?
How can we implement a jsp page?
what is servlet chaining?
What is pure servlet?
What is the inter-servlet communication?
Why is init() method is used in servlets?
What are important features of Servlet 3?
How can we refresh automatically when new data has entered the database?
What do you mean by cgi and what are its drawbacks?
What are Servlets?
If my browser does not support cookie, and my server sends a cookie instance what will happen?