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 the difference between using getSession(true) and getSession(false) methods?

1104


Differentiate between the web server and application server?

1105


Difference between doget and dopost?

1225


What is meant by a web application

1064


What is the difference between encodeRedirectUrl and encodeURL?

1166


Explain url encoding in servlet?

1103


Define context initialization parameters.

1090


What are life cycle methods of a servlet?

1111


What if we pass negative value in load-on-startup?

1333


What are the supporting protocol by HttpServlet ?

1252


What are session variable in servlets?

1066


Is that servlet is pure java object or not?

1170


Difference between get and post in java servlets?

1077


Is tomcat a servlet container?

1110


Describe some assignments that are executed by servlet container?

1120