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
What are the uses of servlet
What is pure servlet?
What's the servlet interface?
When jsessionid is created?
Is tomcat a servlet container?
Explain the role of dispatcherservlet and contextloaderlistener.
Why do we need servlet filter?
What is servlet looping or chaining?
How do you create a cookie using servlet?
What is a servlet context?
Explain the difference between a web server and a web container?
Servlet is pure java object or not?
What do you mean by servlet context?
What’s the use of the servlet wrapper classes??
Explain the servlet context.