版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/fuck51cto/article/details/80524248
编译
javac -cp .;httpclient-4.2.3.jar;httpcore-4.2.2.jar;commons-logging-1.1.1.jar Test.java
运行
java -cp .;httpclient-4.2.3.jar;httpcore-4.2.2.jar;commons-logging-1.1.1.jar Test