Posted by ccvo
on April 18, 2007 at 1:33 AM PDT
I would like to get response from web page by using post method of org.jdesktop.http.Session. The code is as follow:
Parameter m_status = new Parameter("m_status", "check");
Parameter txtUserName = new Parameter("txtUserName", "ccvo");
Parameter txtpwd = new Parameter("txtpwd", "abc");
Response r = s.post("http://www32.brinkster.com/tin99sp/index.asp", m_status, txtUserName, txtpwd);
What I have received is the same result as:
r = s.get("http://www32.brinkster.com/tin99sp/index.asp"); //no paras
I should be the thing like I login automatically, and the response page must be logined page. But it is not what I hope.
Can anyone please help me?
Message was edited by: ccvo