Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 513 invoked from network); 29 Sep 2006 17:46:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Sep 2006 17:46:40 -0000 Received: (qmail 82747 invoked by uid 500); 29 Sep 2006 17:46:39 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 82722 invoked by uid 500); 29 Sep 2006 17:46:39 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 82692 invoked by uid 99); 29 Sep 2006 17:46:39 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Sep 2006 10:46:39 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [212.227.126.183] ([212.227.126.183:58033] helo=moutng.kundenserver.de) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 1F/AA-13110-3FB5D154 for ; Fri, 29 Sep 2006 10:46:32 -0700 Received: from [85.180.53.0] (helo=[85.180.53.0]) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1GTMQo2hyn-0003UL; Fri, 29 Sep 2006 19:45:50 +0200 Message-ID: <451D5C6B.8070801@dubioso.net> Date: Fri, 29 Sep 2006 19:48:27 +0200 From: Roland Weber User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060428 X-Accept-Language: en-us, en MIME-Version: 1.0 To: HttpClient User Discussion Subject: Re: How to set a Forms action value? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de login:4601b1d39ab4ddfc21c613822e406392 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Jeff, > I'm trying to submit a post request to a page that contains a form with > some values. > > I can set the values, but the page has javascript that sets the form's > action value to 'doStuff'. > > > > How do I set this in my httpclient java code? The action value of the form is the target URL for your POST request. Have you taken a look at the primer? http://wiki.apache.org/jakarta-httpclient/ForAbsoluteBeginners#head-93d017d102ea8a83b2ad6e07c5184ec2f922f09a cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org