java - Input values to textfields, stream back to website -



java - Input values to textfields, stream back to website -

i connected website, used jsoup find "textfield" id's, input values, need stream out.

can please help me right coding stream "modified" doc website?

if (source == enter2) { string url = "http://www.clubvip.co.za/login.aspx"; element number; element pass; element keyword; seek { document doc = jsoup.connect(url).get(); number = doc.getelementbyid("ctl00_contentplaceholder1_cellnumberradtext").attr("value", "number"); system.out.println(number); pass = doc.getelementbyid("ctl00_contentplaceholder1_passwordradtext").attr("value", "password"); system.out.println(pass); keyword = doc.getelementbyid("ctl00_contentplaceholder1_keywordradtext").attr("value", "keyword"); system.out.println(keyword);

why doing this?

if need login webpage, take arguments , send them via http post request page <form> points to

which <form method="post" action="login.aspx">

java jsoup

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -