Upload using Applet and JSP - Need help
Hi guys. I have an applet that saves a .jpg file on the disk. Now, I need upload this file to a JSP. I got an example for the applet ( http://forum.java.sun.com/thread.jspa?threadID=579720&tstart=135 ) but I need some example for the jsp, how to receive this file from an applet.
Could u me help me? Thanks!
[324 byte] By [
Fokaa] at [2007-11-26 16:24:40]

# 1
Well it seems that code is doing a multipart fileupload. So you'll need a package that can parse a multipart request. I suggest Apache FileUpload.
http://jakarta.apache.org/commons/fileupload/using.html
Your example code uploads as the parameter "myfile" by the way, so that is the request parameter you want to retrieve using FileUpload.