to login my code is:
PostMethod post = new PostMethod("/admin/");
NameValuePair[] data = {
new NameValuePair("userName", userName),
new NameValuePair("password", password)
};
post.setRequestBody(data);
client.executeMethod(post);
I am searching for a way to get the name of the parameters from URL (not the
value).
ex: userName and password . any idea!! :)
--
View this message in context:
http://old.nabble.com/getParameters%28%29-from-URL-tp33939261p33939261.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]