Kisat
Posts: 4
|
Posted: 07/07/2008, 12:42 AM |
|
Hi,
I want to retrieve a file that is sent with a request in a jsp page
I've got a html page with this form :
<FORM ACTION="file.jsp" METHOD="POST" ENCTYPE="multipart/form-data">
Send this file to the server
<INPUT TYPE="FILE" NAME="file">
<INPUT TYPE="SUBMIT" value="Submit">
</FORM>
In my file.jsp how do I retrieve the file that is contained in the request object "file"? i.e. if I want to store that file in a directory on the server, how do I copy the file?
Thanks.
|
|
|
|
|