I made a website that uses html and javascript to require log in.
Now i wanted to make a Java application to log in ... instead of using a browser
with a browser you would enter your name in text field and click Login
I use HTTPClient
Emulating HTML Forms
now i use NVPair to send the form data for the text field
but it just sits there
i am thinking my problem is: I am not pressing the button
I don't know how to set up a NVPair to simulate the button press
I use InputStream and BufferedReader to read the page
When i do that i seem to get the html code sent to me
When you log in you get to a page that says you are in
If i get the html code that says YOUAREIN i would know it worked
but i am only getting the html code for the login page
so i am thinking i am just filling out the form and not submitting it