15. What is the difference between Difference between doGet() and doPost()

DoGet DoPost
In doGet Method the parameters are appended to the URL and sent along with header information In doPost, parameters are sent in separate line in the body
Maximum size of data that can be sent using doget is 240 bytes There is no maximum size for data
Parameters are not encrypted Parameters are encrypted
DoGet method generally is used to query or to get some information from the server Dopost is generally used to update or post some information to the server
DoGet is faster if we set the response content length since the same connection is used. Thus increasing the performance DoPost is slower compared to doGet since doPost does not write the content length
DoGet should be idempotent. i.e. doget should be able to be repeated safely many times This method does not need to be idempotent. Operations requested through POST can have side effects for which the user can be held accountable, for example, updating stored data or buying items online.
DoGet should be safe without any side effects for which user is held responsible This method does not need to be either safe
About these ads

65 Responses

  1. note

  2. note

  3. Download a lot of music per only one SMS. Try http://www.neoteri.com now !

    Download Music
    Best music archive

  4. thnx alot sharat.it really helped me.

  5. loan no payday telecheck teletrack 1000 loan no payday teletrack

  6. omaha hi lo strategy hi lo omaha poker rule omaha hi lo

  7. basic poker rule poker tournament rule

  8. free online casino slots game free online slots game free online slots machine game

  9. free cingular ringtones cingular free ringtones wallpaper

    After that free verizon ringtones download free ringtones for verizon wireless phone

  10. roulette portal internet

    Encontrar ruleta pagina web wager

  11. hour loan online payday

    Where advance america cash advance budget line cash advance

  12. free phone ringtones verizon

    In general 100 free real music ringtones advance america cash advance

  13. uk lowest interest credit card

    However best credit card debt help best business credit card

  14. alltel cell free phone ringtones

    In that case motorola ringtones maker national city bank credit card

  15. visa credit card offer card credit offer visa

    Any kind of low interest payday loan free credit card consolidation

  16. boost free mobile music ringtones

    If she free ringtones converter free arabic ringtones

  17. free ismarket.com ringtones samsung site

    As mentioned cash advance until pay day free motorola ringtones tracfone v170

  18. free cingular ringtones and graphic free ringtones from cingular

    These loan till payday cash central loan payday

  19. download free u.s cellular ringtones free u.s cellular ringtones

    At the beggining payday loan cash advance loan fast online payday loan

  20. Mony is mony and all we need is mony

  21. samsung a800 polyphonic ringtones

    Get started free logo nokia ringtones free alltel music ringtones

  22. country free music ringtones

    For example cell free nokia phone ringtones boost free mobile music ringtones

  23. tlcharger sonneries

    I am cash advance loan online cash advance loan washington

  24. pcs ringtones sprint vision

    However 120e free keypress motorola ringtones free latest bollywood ringtones

  25. le poker gratuites franais

    Aller klingeltne selber klingeltne fr samsung

  26. unlimited music ringtones

    That”s free boost mobil ringtones free ringtones samsung x426

  27. salsa midi file

    Those beatles midi file free country midi file

  28. caller download hotlink maxis ringtones

    On loan payday toronto payday loan toronto

  29. free sprint real ringtones

    Consider payday loan cash advance loan payday loan paycheck advance

  30. Pay cash and check advance online payday loan with online help and get all information on yourfirstpaydayloan.

  31. free mp3 ringtones converter

    Never poker italia street poker online

  32. poker game online gratis

    Riguarda gioca poker online casino poker gratis

  33. slots machine downloads gratuito slots machine slots machine downloads scarica

    Si casino con bonus gratis download video poker gratis

  34. metodi per roulette

    Come bonus europa casino giochi baccarat

  35. i migliori casino online

    Un video poker online gratis roulette americana

  36. roulette game download roulette game

    Beenden spielen im casino casino online betrug

  37. real ringtones wwe

    Think motorola polyphonic ringtones chocolate lg ringtones

  38. 24 ringtones theme 24 theme ringtones

    All the metro pcs phone ringtones download free ringtones cellular one

  39. polyphonic ringtones for cingular phone ringtones for cingular phone

    Quite mobile mp3 phone ringtones 7100i blackberry ringtones

  40. Probably if you put it using some examples and illustration, it would be even better. Could you?

  41. Nobody can stop me by posting these comments.
    http://www.businesswebhostings.net

  42. Vacation packages are always hard to search, but here are some options .
    http://www.imeem.com /people/Cc8kD5k

  43. [...] more here:  15. What is the difference between Difference between doGet() and … :bonus-gratis, cable-or-bluetooth, downloads-scarica-, for-mobile, images, march, Motorola, [...]

  44. Hey, you have a great blog here! I’m definitely going to bookmark you! Thank you for your info.And this is quick payday loan no credit check site/blog. It pretty much covers Quick payday loan no credit check related stuff. Thanks for sharing it!

  45. Thanks a lot……. i got very much information for this……

  46. Your blog is interesting!

    Keep up the good work!

  47. cette info poura m’aider !

  48. Hi there, I spotted your blog via Yahoo and google while on the lookout for free midi music and your post caught my eye.

  49. When you invoke a Servlet, the servlet engine passes the information on to the Servlets service() method. This method determines the type of request made (GET, POST, HEAD, …) and calls the function doTYPE, like doGet, doPost. GET and POST just differ in the way form data is sent from the browser to the server. The method doGet handles data that has been attached to the url in the form url questionmark (name=value ampersand)

  50. Merci pour votre aide, cet article est parfait pour les novices comme moi. J’ai quand même besoin d’un peu de temps pour réfléchir à tout ça. Paola :)

  51. Merci pour l’aide biatch

  52. [...] differenza doGet / doPost: al di là delle differenze tecniche, che potete visionare comodamente qui, con la doGet riuscite a leggere un massimo di 240 byte, mentre con doPost non ci sono limiti. [...]

  53. you are in reality a just right webmaster. The website loading velocity is amazing.
    It kind of feels that you’re doing any distinctive trick. In addition, The contents are masterwork. you have done a wonderful activity on this topic!

  54. You actually make it seem so easy with your presentation but I find this
    topic to be actually something which I think I would never understand.
    It seems too complex and extremely broad for me. I’m looking forward for your next post, I will try to get the hang of it!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: