Explain the difference between GET and POST methods?

Answer Posted / ravikiran(aptech mumbai)

GET:
1).Is used to send request time attributes
2).And can only pass string parameters not any kind of
binary data.
3).The Number of charecters we can pass is limited to 255
4).The data what we sent is exposed to every one in URL as a
query string
5).Best example is passing parameters threw hyperlinks

POST:
1).Data Confidentiality is there
2).We can send unlimited amount of data
3).Binary as well as string data we can transfer
4).Best example is file uploading application

Is This Answer Correct ?    45 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is servlet instance?

608


What is a servlet context?

672


What is cgi and what are its drawbacks?

620


Can filter be used as request or response?

605


How is an application exception handling is done using a servlet?

605






I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?

2299


Difference between httpservlet and generic servlets?

684


What is Request Dispatcher?

906


What is the use of httpservletrequestwrapper and httpservletresponsewrapper?

617


What is api in servlet?

609


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 >>

2609


What is meant by servlet? What are the parameters of the service method?

660


What are the phases of servlet life cycle?

675


How do we call one servlet from another servlet?

656


What is the use of servlet wrapper classes?

744