commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Verma, Nitin (GECP, OTHER, 529706)" <NITIN.VE...@APPL.GE.COM>
Subject [HttpClient] What method should be used to add params to a post met hods
Date Tue, 03 Jun 2003 08:14:07 GMT

 
        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?


Mime
View raw message