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 java servlet session?
What is the use of request dispatcher interface?
How to get the server information in a servlet?
What are the common methods that are included in the http servlet class?
What must be implemented by all servlets?
What is meant by Servlet? What are the parameters of service method?
Can we refresh servlet in client and server side automatically?
Difference between get and post in java servlets?
What is new in ServletRequest interface ? (Servlet 2.4)
What is httpservlet class?
Explain the methods of request dispatcher in servlet?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
Why servlet is mostly used?
Why do we use sendredirect() method?
Where do you define dispatcherservlet?