What is the difference between doGet and doPost?

Answer Posted / benjamin

thank all for your answers:
doGet simply request a ressource from server(e.g pages) by
opposite of doPost which can request a ressource and post
form data to a server

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between generic servlet and http servlet?

617


I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>

2616


why we should override only no-agrs init() method.

743


What is life cycle of Servlet?

679


What are the uses of servlet

709






Explain the custom jsp tags and the beans.

691


What is the use of servletconfig interface?

642


Which exception is thrown if the servlet is not initialized properly?

677


Explain the difference between servletconfig and servletcontext in servlet?

655


What are the different methods involved in the process of session management in servlets?

760


What do you mean by interservlet communication?

677


Explain the jar and war files in servlet?

642


Differentiate between the get and post method

666


When Servlet is unloaded?

717


Write a program to show the functionality of servlets.

646