httpclient經過POST來上傳文件,而不是經過流的形式,並在服務端進行解析(經過httpmime.jar來操做)java
這個文件是你將文件上傳到服務器上的時候,所須要的文件,另外httpmine對httpclient等包有依賴,因此最好你httpmine與httpclient,httpcore的版本號一致。apache
Project Dependencies compile The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application: GroupIdArtifactIdVersionTypeLicense org.apache.httpcomponents httpclient4.3.6jar Apache License, Version 2.0