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

If some new data has entered the database, explain how can a servlet refresh automatically?

723


What is servlet and how it works?

493


How can we implement a jsp page?

617


Explain url encoding in servlet?

566


What is the workflow of a servlet?

708






What is the difference between 2 types of servlets?

630


What are the various ways of session supervision in servlets?

510


What is the difference between using getSession(true) and getSession(false) methods?

562


Why is Servlet so popular?

606


How do you define a servlet?

516


How to notify an object in session when session is invalidated or timed-out?

620


What do you mean by singlethreadmodel interface?

569


What is the inter-servlet communication?

687


What is ServletConfig object?

598


What are some advantages of storing session state in cookies?

585