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 servlet interface?
What is http servlet?
What do you mean by mime type?
What are the advantages of Servlet over CGI?
Why filter is used in servlet?
What are the jobs performed by servlets?
How the JSP file will be executed on the Server side?
What are the steps involved in placing a servlet within a package?
What is meant by Servlet? What are the parameters of service method?
How can we upload the file to the server using servlet?
How can we refresh automatically when new data has entered the database?
How to read request headers from servlets?
What are the different methods involved in generic servlet?
Write a command to get actual path of a servlet to the server?
What are the phases of servlet life cycle?