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

Why do we need servlet filter?

562


Which is better jsp or servlet?

553


What are the life cycle methods of a servlet?

587


How can we implement a jsp page?

625


What is java servlet?

606






Why are http servlets used in programming?

544


What are all the protocols supported by httpservlet?

646


What is the purpose of dispatcherservlet properties?

506


List some life cycle methods of a servlet.

585


What is the life-cycle of servlets?

629


Explain the servlet context.

596


Describe the phases of servlet lifecycle?

628


How can you start a jta transaction from a servlet deployed on jboss?

672


What is servlet lazy loading?

691


How to rectify errors in java servlet while compilation?

515