Hi to all, i have a problem, i'm trying to get a file from a servlet with 
"request.getInputStream() "
and i am using a form with "enctype=multipart/form-data", like this:


<form action="/servlet/LoadFile" method="post" enctype="multipart/form-data">
<BR>
<INPUT type="file" name="LOAD">
<BR>
<INPUT type="submit" name="submit" value="SEND">
</form>



Well, I get a file, it's all ok , BUT i don't get the filename from the form
because it's with "enctype=multipart/form-data" and the value for
<INPUT type="file" name="LOAD">   doesn't get back to the servlet.

finally, the question is: �How I do get the filename with a "form MULTIPART" and 
"request.getInputStream()"?



thanks,

[EMAIL PROTECTED]


--

_______________________________________________
Get your free email from http://e-mail.peru.com

Powered by Outblaze

___________________________________________________________________________
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

Reply via email to