Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain the difference between GET and POST methods?

Answer Posted / rajeev sen

Use GET
• To retrieve an HTML file or an image file, because only
the filename needs to
be sent.


Use POST
• To send a lot of data; for example, POST is well suited
for an online survey,
since the length of the query string may exceed 255 characters.
• To upload a file.
• To capture the username and password, because we want to
prevent users from
seeing the password as a part of the URL.

Is This Answer Correct ?    10 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is servlet attributes and their scope?

1063


What is url encoding and url decoding

1151


How the servlet is loaded?

1073


Why do we have servlet filters?

1024


Write a hello world program using servlets.

1063


request parameter how to find whether a parameter exists in the request object?

1012


Explain in brief the directory structure of a web application?

1112


What are life cycle methods of a servlet?

1057


What do you mean by request dispatcher in servlet? Also explain its methods.

1147


What is ServletConfig object?

1179


How to get the IP address of client in servlet?

1087


What are the different methods of session management in servlets?

1020


What do you mean by singlethreadmodel interface?

1048


Tell the new features added in servletrequest interface i.e. Servlet 2.4

1172


How is a servlet implemented in code?

1081