Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 33832 invoked from network); 30 Mar 2008 04:16:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Mar 2008 04:16:00 -0000 Received: (qmail 52377 invoked by uid 500); 30 Mar 2008 04:15:59 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 52353 invoked by uid 500); 30 Mar 2008 04:15:59 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 52344 invoked by uid 99); 30 Mar 2008 04:15:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Mar 2008 21:15:59 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.190.36.203] (HELO web53808.mail.re2.yahoo.com) (206.190.36.203) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 30 Mar 2008 04:15:17 +0000 Received: (qmail 67353 invoked by uid 60001); 30 Mar 2008 04:15:27 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=W+5SDNXL2++vvIrQUYpSGffR7DZqdxnInhr09YDdZBFGGJXdzi+b33A7ShrvlAhchq5HuSCvP5PSkWbzL5g4MruT/ETC6HBLvnyPxAL1idFkMODJpGEFI+ufovwCC9I7EYMNlQahi5Z7ADLWOvNfdv6gR/0f0koHZbqX0jxu0T8=; X-YMail-OSG: GgFc.2QVM1lUPReTo2VOJvOdiacsHOKRGZxRd19Jon.etvHra8wtPeqO2hTRI6IQoTfZEVA7QnP0FEZEHXhxySz8rmpXwqOS0qll0_VnuQHpyB1SHicZOivVYHjKfA-- Received: from [71.195.225.106] by web53808.mail.re2.yahoo.com via HTTP; Sat, 29 Mar 2008 21:15:27 PDT Date: Sat, 29 Mar 2008 21:15:27 -0700 (PDT) From: Corey Lundon Subject: html form code & name value pair example To: httpclient-users@hc.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-405401118-1206850527=:65289" Content-Transfer-Encoding: 8bit Message-ID: <833494.65289.qm@web53808.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-405401118-1206850527=:65289 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 Cost. --0-405401118-1206850527=:65289--