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
What do you mean by interservlet communication?
Define the life cycle of a servlets.
Is servlet a framework?
What is the difference between sendredirect() and forward() in a servlet?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
What are the type of protocols used in httpservlet?
What is setattribute in servlet?
What is servlet initializer?
What is the purpose of dispatcherservlet properties?
What is ServletContext object?
How do we translate jsp?
What is the use of request dispatcher interface?
What is a server side include (ssi)
Write a program to show the functionality of servlets.
Should I override the service() method?