Explain the difference between GET and POST methods?

Answer Posted / karishma

POST METHOD:
The POST method generates a FORM collection, which is sent as a HTTP request body. All the values typed in
the form will be stored in the FORM collection.
GET METHOD:
The GET method sends information by appending it to the URL (with a question mark) and stored as A Querystring collection. The Querystring collection is passed to the server as name/value pair.
The length of the URL should be less than 255 characters.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to show the functionality of servlets.

553


What is http servlet?

573


How will you pass values from HTML page to the servlet?

550


Name the different ways of session tracking.

567


Is servlet synchronized?

595






What are the uses of servlet

627


What is new in ServletRequest interface ? (Servlet 2.4)

568


What is a cookie What is the difference between session and cookie

590


Can you use javascript in servlets?

596


What are the phases of the servlet life cycle?

603


What is servlet used for?

688


What do you mean by annotations in servlet?

576


What is the purpose of inter-servlet communication?

585


What's the use of servletcontext?

671


What are the steps involved in placing a servlet within a package?

581