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 a cookie What is the difference between session and cookie
Explain mvc pattern.
Explain the difference between a web server and a web container?
What are different methods of session management in servlets?
Can you create a deadlock condition on a servlet?
What do you mean by cgi in servlet?
What are all the ways for session tracking?
Difference between get and post in java servlets?
What is the difference between the http servlet and generic servlet?
Difference between GET and POST?
Why do we have servlet wrapper classes?
What is the life-cycle of servlets?
What is java servlet?
What are the kinds of http requests?
Write the code to get the server information in servlet.