I am using a HttpURLConnection to connect to a servlet. I am sending some request parameters on the client, which I am not able to receive in my servlet code.
Client Side
-------------
Servlet Side
--------------
prints Name: null
What am I missing?? Am I doing something wrong??
Regards
Jaya
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35241
7
posted
0
"Request properties" are HTTP headers, not HTML form parameters. See #135 here for an example of how to POST using HttpURLConnection.