This week's giveaways are in the MongoDB and Jobs Discussion forums. We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line! See this thread and this one for details.
Hi, I was wondering how do I send a file through a browser dialog box? After the user selected the file to be submited from an applet, how do I receive the file from the server side? Thanks.
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
U can use a bare html with ENCTYPE="multipart/form-data" as Form attribute. Example: <HTML> <BODY BGCOLOR="#FFFFFF"> <FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="Upload.jsp"> <INPUT TYPE=FILE NAME="FILE1"><BR> <INPUT TYPE=SUBMIT VALUE="Upload!"> </FORM> </BODY> </HTML> See http://www.servlets.com/resources/com.oreilly.servlet/index.html for to get idea about what to be done in the server side. sakthi
ricky gonzalez
Ranch Hand
Joined: Jun 30, 2000
Posts: 167
posted
0
Thank you so much! I really appreciate your help.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.