What is the difference between doGet and doPost?

Answer Posted / ravi kumar

In doget() method there is a security problems are arrival
because when the user or client submit the form the
associated user name or password has been display on the
addressbar.

but in case of doPost() method when the user submit the
form the associated user name or password are not display
on the addressbar.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is servlet initializer?

497


Where do you define dispatcherservlet?

542


What do you mean by the servlet chaining?

537


Can we override servlet service method?

581


What are the two important api's in for servlets?

578






Explain the war file?

598


Explain servlet life cycle?

603


Describe the phases of servlet lifecycle?

619


What's the difference between servlets and applets?

549


Explain the difference between jsp and servlet?

578


What is the use of servlet context?

521


Whether thread can be used in servlets?

714


What are the various ways of session supervision in servlets?

510


Is tomcat a servlet container?

562


When servlet is loaded?

581