In servlets, Why do we need both GET and POST method
implementations?
Answer Posted / abhijitbaji
if you are using HttpServlet then you have to implement
doGet() and or doPost() as per the method specified in jsp.
by default method type is "GET"
if you are using GenericServlet, you have to implement
servive()
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
How many servlet objects are created?
What is the difference between genericservlet and httpservlet
What are the uses of servlets?
What's the servlet interface?
What is the procedure of invoking different servlet in a different application?
Explain the war file?
What is the difference between a generic servlet and http servlet?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
What is the use of servletconfig interface?
Can you refresh servlet in client and server-side automatically?
What is generic servlet class?
Explain web container.
How to get the server information in a servlet?
What are the advantages of Servlet over CGI?
What are the different methods involved in the process of session management in servlets?