Yes, I did.
But I got the same result.
S.A.Pamungkas
--- Rosh Nair <[EMAIL PROTECTED]> wrote:
> Get the package from servlets.com provided by
> O'Relly that helps upload file
> and support encoding type multipart/form-data. You
> can get some sample apps
> too. I think this will help you.
>
> Rosh Nair
>
> -----Original Message-----
> From: S.A.Pamungkas [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 24, 2000 10:04 PM
> To: [EMAIL PROTECTED]
> Subject: File upload
>
>
> Hi,
>
> I readed this topic in the servlet archieve, but I
> have a question that I need some to help me.
>
> I want to store a file to my DB.
> Storing a file form same machine is o.k. The problem
> is storing a file from other machine.
>
> I use a HTML to provide a from for user to entry a
> file to DB, according the sample from JH's book.
> The problem is:
> If the html include ENCTYPE="multipart/form-data",
> there is no response from servlet. It seem like no
> communication between html and servlet.
> If I eleminate the ENCTYPE="multipart/form-data"
> from
> HTML file, servlet produce error message as follwo:
> java.io.FileNotFoundException:
> C:\Mypicture\image.jpg
> (No such file or directory ).
>
> Any suggestion would be appreciate.
> Thank you indvance.
>
> S.A.Pamungkas
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of
> Products.
> http://shopping.yahoo.com/
>
>
___________________________________________________________________________
> 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
>
>
___________________________________________________________________________
> 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
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
___________________________________________________________________________
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