Check out Peter English's "CParseRFC1867" class. He had a nice way of
parsing the form values to upload the files. His program implements the
RFC1867 which specifies Multiple file uploads. This program is very
useful if you are uploading the file and directly storing it in a
Database as a Blob type. But, still you can use his parsing technique,
which I feel is very good. As, I've never seen Jasan Hunter's file
upload program, I can't tell which is better. But, it's worth trying.
If I remember right you can find Peter English's program in
www.servletcentral.com
HTH,
Winston
412-553-3030(Work)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
We are what we do repeatedly.
Excellence, then, is not an act, but a habit.
>----------
>From: Jim Graham[SMTP:[EMAIL PROTECTED]]
>Reply To: [EMAIL PROTECTED]
>Sent: Wednesday, March 24, 1999 9:53 AM
>To: [EMAIL PROTECTED]
>Subject: Uploading files from a form
>
>I am working on a servlet that will upload a file...to
>a server. I have found an example in Jason Hunter's
>book, but wanted to know if there is a more compact
>method or technique that I just haven't found.
>Thanks,
>Jim
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.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