Return-Path: Delivered-To: apmail-jakarta-httpclient-dev-archive@www.apache.org Received: (qmail 66302 invoked from network); 9 Aug 2006 23:51:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Aug 2006 23:51:20 -0000 Received: (qmail 31751 invoked by uid 500); 9 Aug 2006 23:51:19 -0000 Delivered-To: apmail-jakarta-httpclient-dev-archive@jakarta.apache.org Received: (qmail 31729 invoked by uid 500); 9 Aug 2006 23:51:19 -0000 Mailing-List: contact httpclient-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "HttpClient Project" Reply-To: "HttpClient Project" Delivered-To: mailing list httpclient-dev@jakarta.apache.org Received: (qmail 31718 invoked by uid 99); 9 Aug 2006 23:51:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 16:51:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [203.13.126.129] (HELO optus.com.au) (203.13.126.129) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 16:51:17 -0700 Received: from weasel.optus.com.au ([161.43.2.4]) by msgprdimsw001.optus.com.au with InterScan Message Security Suite; Thu, 10 Aug 2006 09:50:53 +1000 Received: from [10.35.160.77] (wsp126751wss.optus.com.au [10.35.160.77]) by weasel.optus.com.au (Postfix) with ESMTP id 2B5DF76EC3 for ; Thu, 10 Aug 2006 09:50:53 +1000 (EST) User-Agent: Microsoft-Entourage/11.2.5.060620 Date: Thu, 10 Aug 2006 09:54:21 +1000 Subject: Getting FormElements from HTTP Response From: Errol Dalgic To: HttpClient Project Message-ID: Thread-Topic: Getting FormElements from HTTP Response Thread-Index: Aca8DyIkYP+qaCgCEduuUwAUUSJuQg== Mime-version: 1.0 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi there, I've written several bots to extract the form elements and values from HTML pages utilising HttpClient and the java regex pattern/matcher api. I was wondering whether there were any generic methods within the HTTPClient API which would allow me to perform this task ie. retrieve all the name and value pairs from the response? I am sure this would be useful and happy to share what I have written so far. Thanks,=20 Errol Errol Dalgic Programmer Analyst ________________________________________ eSolutions=A0-=A0Consumer Operations Group SingTel Optus Pty Ltd errol.dalgic@optus.com.au The information contained in this e-mail message and any accompanying files is or may be confidential. If you are not the intended recipient, any use, dissemination, reliance, forwarding, printing or copying of this e-mail or any attached files is unauthorised. This e-mail is subject to copyright. No part of it should be reproduced, adapted or communicated without the writte= n consent of the copyright owner. If you have received this e-mail in error, please advise the sender immediately by return e-mail, or telephone and delete all copies. Optus does not guarantee the accuracy or completeness of any information contained in this e-mail or attached files. Internet communications are not secure, therefore Optus does not accept legal responsibility for the contents of this message or attached files. --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org