C
Cormac O'Donnell
I have a small problem,
I am sending a few parameters to a company.
URL url = new URL("http://www.some.com/where?usr=name&password=pass&msg=ello");
now to connect to the url i simply open a connection:
url.openStream();
This sends my parameters( usr, password , msg), this works fine.
Thing is that the person i am sending these parameters to is sending
back parameters, namely; status_code and status_description
How can i get my hands on these parameters
I am doing this in a servlet
Thanks in advance,
Cormac
I am sending a few parameters to a company.
URL url = new URL("http://www.some.com/where?usr=name&password=pass&msg=ello");
now to connect to the url i simply open a connection:
url.openStream();
This sends my parameters( usr, password , msg), this works fine.
Thing is that the person i am sending these parameters to is sending
back parameters, namely; status_code and status_description
How can i get my hands on these parameters
I am doing this in a servlet
Thanks in advance,
Cormac