Hi, I'm trying to figure out how to go about creating a servlet that
uploads a file whose filename has been gotten by an applet, which then
connects to the servlet. I've looked through the archive's multple pages
of file upload questions and i'm still confused. I've even gone through
the MultipartRequest example in the java servlet book by oreilly..
I just want the user to click a button, enter/select the filename, applet
connects to servlet, applet sends filename to servlet, servlet uploads
file and stores it as a 'File', servlet connects to database and chucks it
in there. I've got everything thing working except the 'servlet uploads
file and stores it as a File'.
Any suggestions as to whether i can do this, and if I can how do I do it?
After I figure out how/if this is possible I'm then going to have to
figure out the reverse (user tells applet they want to down load
file, enters filename, applet sends file name to servlet, servlet
tells database to chuck out file to servlet, servlet downloads file to
user)
Thanks in advance :)
Sohaila
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html