hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Corey Lundon <coreylun...@yahoo.com>
Subject html form code & name value pair example
Date Sun, 30 Mar 2008 04:15:27 GMT
Hi I need some help using HttpClient
I would love an example of a form and the corresponding name value pairs needed.
Your tutorial talks about some sun site with a form that i can't even get to.  

I have a form that uses a button type that executes a javascript and then in turn redirects
you to another site

there is only one field ... a password field
so i was thinking i only need one name value pair for it
but i can't seem to get past the login page

do i need a name value pair for the button press and if so what would it consist of

your tutorial has lots of name value pairs
an action, url, username, and password

also you talk about only way to see if log on was correct is to check cookie
my html form doesn't use cookies as far as i know
it is just a form with a field for password
you hit button which runs a javascript function 
and if password is correct you go to new site
i was just trying to check status code for a redirection status code
or maybe i could just getResponseAsString and see if i am on the right site

You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message