Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 96674 invoked from network); 3 Jun 2003 08:11:52 -0000 Received: from ext-nj2gw-5.online-age.net (64.14.56.41) by daedalus.apache.org with SMTP; 3 Jun 2003 08:11:52 -0000 Received: from int-nj2gw-4.online-age.net (int-nj2gw-4 [3.159.236.68]) by ext-nj2gw-5.online-age.net (8.12.9/8.12.8/990426-RLH) with ESMTP id h538BYI4015774 for ; Tue, 3 Jun 2003 04:11:35 -0400 (EDT) Received: from AP3EXVW01APPLGE.appl.ge.com (localhost [127.0.0.1]) by int-nj2gw-4.online-age.net (8.12.9/8.12.8/990426-RLH) with SMTP id h538BoPB003977 for ; Tue, 3 Jun 2003 04:11:51 -0400 (EDT) Received: from 3.130.163.181 by AP3EXVW01APPLGE.appl.ge.com (InterScan E-Mail VirusWall NT); Tue, 03 Jun 2003 04:14:12 -0400 Received: by exchange.appl.ge.com with Internet Mail Service (5.5.2653.19) id ; Tue, 3 Jun 2003 04:14:11 -0400 Message-ID: <62E407E3139D564FBFD7273C369F323101DBC27A@banexpr01applge.appl.ge.com> From: "Verma, Nitin (GECP, OTHER, 529706)" To: Jakarta Commons Users List Subject: [HttpClient] What method should be used to add params to a post met hods Date: Tue, 3 Jun 2003 04:14:07 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C329A8.1A7537C0" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_000_01C329A8.1A7537C0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C329A8.1A7537C0" ------_=_NextPart_001_01C329A8.1A7537C0 Content-Type: text/plain; charset="iso-8859-1" PostMethod method = new PostMethod(url); method.setParameter( "","" ); method.addParameter(new NameValuePair("", "")); method.addParameter("", ""); are deprecated as for my dependency commons-httpclient 2.0-alpha3 http://jakarta.apache.org/commons/httpclient/ What method should be used? ------_=_NextPart_001_01C329A8.1A7537C0 Content-Type: text/html; charset="iso-8859-1"

 
        PostMethod method = new PostMethod(url);
method.setParameter( "","" ); 
method.addParameter(new NameValuePair("", ""));
method.addParameter("", ""); 
 
 
are deprecated as for my dependency
 
    <dependency>
        <id>commons-httpclient</id>
        <version>2.0-alpha3</version>
        <url>http://jakarta.apache.org/commons/httpclient/</url>
    </dependency>
 
What method should be used?
------_=_NextPart_001_01C329A8.1A7537C0-- ------_=_NextPart_000_01C329A8.1A7537C0 Content-Type: text/plain; name="ATT2196299.txt" Content-Disposition: attachment; filename="ATT2196299.txt" --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org ------_=_NextPart_000_01C329A8.1A7537C0--