You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "Verma, Nitin (GECP, OTHER, 529706)" <NI...@APPL.GE.COM> on 2003/06/03 10:14:07 UTC
[HttpClient] What method should be used to add params to a post
met hods
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?