Explain the difference between GET and POST methods?
Answer Posted / rajeev sen
Use GET
• To retrieve an HTML file or an image file, because only
the filename needs to
be sent.
Use POST
• To send a lot of data; for example, POST is well suited
for an online survey,
since the length of the query string may exceed 255 characters.
• To upload a file.
• To capture the username and password, because we want to
prevent users from
seeing the password as a part of the URL.
| Is This Answer Correct ? | 10 Yes | 7 No |
Post New Answer View All Answers
How to handle exceptions thrown by application with another servlet?
What are the life cycle methods of a servlet?
How can we include static files in the jsp page?
Why doesn’t a servlet include main()? How does it work?
Can we override servlet service method?
How does java thread pool work?
How can we achieve transport layer security for our web application?
Explain request dispatcher and its methods.
What are the phases of servlet life cycle?
What is meant by servlet? What are the parameters of the service method?
What is the difference between Difference between doGet() and doPost()?
How does Cookies work in Servlets?
What is servlet in tomcat?
Which method of the httpservletrequest object is used?
Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com