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
How can you create a session in servlet?
Should I override the service() method?
Explain mvc pattern.
What is meant by session? Tell me something about httpsession class?
How does Cookies work in Servlets?
What are the objects involved when a servlet receives a call from client?
When should you prefer to use doget() over dopost()?
Differentiate between the get and post method
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
Why is Servlet so popular?
What are the kinds of http requests?
What are the life cycle methods of the servlet?
What is URL Encoding?
Which is the methods of generated servlet?
What is servlet and its use?