• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how many ways ,we can send request to server

 
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hai,
i request you to give answers to the questions.


->if we use doGet(...) how the request to sended to server

->if we use doPost(...) how the request to sended ..

->if we use service(...) how the request to sended ..

->can we see how the request is transfered to server..

bye
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You have it the wrong way around: If a request is a GET, then doGet is invoked, and if it is a POST, then doPost is invoked. The service method contains the code to differentiate between the two, and dispatch a request to the appropriate doXXX method.

If you use Firefox, check out the excellent LiveHTTPHeaders extension. It lets you view in detail what is sent to the server, and what is received back, including parameters, error codes, etc.

By the way, why are you sticking your tongue out at us?
[ July 06, 2006: Message edited by: Ulf Dittmer ]
 
The world's cheapest jedi mind trick: "Aw c'mon, why not read this tiny ad?"
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic