what is the difference between doGet() and doPost()?
Answer Posted / annamalai
Hai doGet() method is the default HTTPServletRequest method.
In this user entered data is appended to the URL as query
String. It can send only limited amount of data. In doPost()
method the user entered information as data and not appended
to the URL.It can send any amount of data.
| Is This Answer Correct ? | 29 Yes | 1 No |
Post New Answer View All Answers
What is the difference between CGI and Servlet?
Can servlet have a constructor ?
What do you mean by the servlet chaining?
Why servlet is mostly used?
Which is better jsp or servlet?
What is cgi?
Why do we have servlet listeners?
Which are the different ways you can communicate between servlets?
Why is a constructor needed in a servlet even if we use the init method?
Explain the different ways for servlet authentication?
What is called servlet container?
What are some advantages of storing session state in cookies?
What is the difference between Difference between doGet() and doPost()?
What is the importance of init() method in Servlet ?
What’s the difference between forward() and sendredirect() methods?