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: java
Permanent link to this article: http://lindaocta.com/?p=199
Jul
02
Multipart file upload in java (Version 1)
Uploading Multipart file through java is not that easy. I need to write this code for the Transformer (I don’t have a chance to write the wiki yet ), the bridge between The Fascinator desktop and Ice-Service. Since I am trying my best to remember java syntax again, I am confuse which library to use. …
Permanent link to this article: http://lindaocta.com/?p=185
Oct
14
Learning from mistake…
I just completed my Internship interview… Guess what, I did badly. I am so nervous and couldn’t think straight when the interviewer ask me to solve the algorithm. It’s been quite sometimes I never gone through any interview… and this time, I am disappointed with myself…The algorithm being asked is actually quite simple, but my …
Permanent link to this article: http://lindaocta.com/?p=9