what is the difference between doGet() and doPost()?
Answer Posted / venkat
whenever we use doGet() method query string will be appear
on the address bar.
but doPost() does't appear on the address bar.
doGet() method is send limited amount of data
doPost() method is send unlimited amount of data
using doGet() method we can't solve idem potent problem.
using doPost() method we can solve idem potent problem.
doGet() is faster
doPost() is slow.
doGet() method is get method based request
doPost() method is post method based request
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is context in servlet?
Why do we need servlet filter?
What are common tasks performed by Servlet Container?
What are the types of servlet?
How native code can be used in a servlet?
Differentiate between get and post?
Explain servlet.
what is multiple server?
How we can get ip address of client in servlet?
What is the use of servletconfig interface?
What is the need of servlet filters?
How to make sure a servlet is loaded at the application startup?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
What are the differences between servlet context vs servlet config?
Can you send an authentication error from a servlet?