Time to blog my multipart file upload version 2. In this version I am no longer using the MultiPartFormOutputStream.java (see my previous blog: http://lindaocta.com/?p=185) In this version, I use java dependencies: httpclient: download HttpClient and it’s dependencies from: http://hc.apache.org/httpclient-3.x/tutorial.html io: download from: http://commons.apache.org/downloads/download_io.cgi Transformer_two.java code: import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.methods.PostMethod; …
Tag Archive: org.apache.commons.httpclient
Permanent link to this article: http://lindaocta.com/?p=199