what is the difference between do get/dopost

Answer Posted / ravikiran

doGet will append the request parameters as a query string
to the url,
where as the doPost will post the data content on the body
of the jsp page

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you refresh servlet in client and server-side automatically?

614


How to handle exceptions thrown by application with another servlet?

608


What are different ways for servlet authentication?

561


What is httpservlet and how it is different from genericservlet?

604


Is servlet thread safe?

519






What is a java servlet?

552


How to rectify errors in java servlet while compilation?

517


How to read request headers from servlets?

562


What is Client-Server Computing?

1893


What is the use of request dispatcher interface?

567


What is called Session Tracking?

596


What are the different methods involved in generic servlet?

553


What are the functions of Servlet container?

607


Can a jsp be called using a servlet?

580


What’s the difference between sendredirect and forward methods

564