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 servlet is created?
How native code can be used in a servlet?
Explain the architechure of a servlet?
What is servlet and its use?
Explain servlet.
Explain the differences between jsp and servlet.
What is url encoding and url decoding
What is http servlet in java?
Is that servlet is pure java object or not?
Explain web container.
What methodology can be followed to store more number of objects in a remote server?
What are its drawbacks of cgi?
Tell us something about servletcontext interface.
Explain their methods? Tell me their parameter names also have you used threads in servlet?
What do you mean by annotations in servlet?