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
Write a program to show the functionality of servlets.
What are important features of Servlet 3?
How do we translate jsp?
How many objects of a servlet is created?
Can we use the constructor, instead of init(), to initialize servlet?
What are the different mode that servlets can be used?
What is a generic servlet?
What is servlet configuration?
Difference between forward() method and sendredirect() method ?
What do you mean by request dispatcher in servlet? Also explain its methods.
What is servlet looping or chaining?
When servlet object is created?
What is the dispatcher servlet?
How will two or three servlets interact or communicate with each other?
When servlet is loaded?