What is the difference between doGet and doPost?

Answer Posted / ashish

they both r service methods.....

do get() has a disadvantage of sending very less amt of
information as it can send 24 to 255 character........

do post() is used for posting d information.....

Is This Answer Correct ?    20 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the new features added to servlet 2.5?

590


why we should override only no-agrs init() method.

676


Which event is fired at the time of session creation and destroy?

867


List out difference between a JavaBean from a Servlet?

562


What is a generic servlet?

518






How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255

2914


Why do we have servlet wrapper classes?

573


What is the effective way to make sure all the servlets are accessible only when user has a valid session?

563


What's the advantages using servlets than using cgi?

556


Can we fetch the attributes related to a servlet on a different servlet?

628


Is it possible to have a constructor inside the servlet?

550


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

604


Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

614


Is servlet a framework?

539


what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

568