what is the difference between doGet() and doPost()?

Answer Posted / sharief

doGet() append the data to the link.
doPost() will not append the data to the link.

Efficiency is less for doPost() than doGet().Hence,doGet()
usage is more when compared to doPost().

only 255 characters are restricted for doGet(),where as
doPost() doesnt have any restrictions.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the major difference between servlet and applet?

550


What is the difference between portlet and servlet?

521


What is the use of attribute in servlets?

550


What's the advantages using servlets than using cgi?

562


What is a servlet engine?

554






Where do you define dispatcherservlet?

559


What is war file?

587


Explain the architechure of a servlet?

613


Explain the difference between jsp and servlet?

596


Why do we need servlet filter?

579


What are the types of servlets? Explain

683


What is the purpose of dispatcherservlet properties?

522


What do you mean by cgi?

536


What is the use of servletconfig interface?

564


What is the need of servlet filters?

550