Httpclient使用jar包三合一基本使用方法
Http协议使用封装jar包(commons-codec-1.3.jar、commons-httpclient-3.1.jar、commons-logging-1.1.jar)
简单使用方法:
publicstaticvoidmain(String[]args){
// Stringstr1="http://dev.d-smart.cn/Login";
//http协议路径
Stringstr1="";
HttpClienthttpClient=newHttpClient();
PostMethodme
下载地址
用户评论