Hi ,all
I am trying to develop ImageServlet,which enable clients to send jpg
file to server or display it from server.
In client side,I am going to use the next html tag:coz easy to use:
<form enctype="multipart/form-data" method=post method=post
action="http://www.image.com/Image/servlet/ImageServlet>
specifiy your image file:
<input type=file name=filename><br>
<input type=submit value=upload>
</form>
In servlet side.however,I don't know how to get image file.
Once I have got it,I only have to write it to the directory.
Here is the method often used:
req.getParameter("");
But I don't think this method works.
Please tell me how to get image file in servlet.
Thanks in advance.
Hiroshi Kasamatsu
___________________________________________________________________________
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
- Re: How to get image file in servlet side? NSB)Hiroshi Kasamatsu
- Re: How to get image file in servlet side? Antal Peter pm1 9609
- Re: How to get image file in servlet side? Praveen Tapashetti
