Mauricio Cadima wrote:
>
> Hi
>
> I am trying to upload files and save them  as binary   data  directly into
> the database whitout
> uploading the file and write into a file server and then reading
> from it with a FileInputStream and then save it into the DB. Is there any
> way to do this?
>
> I'm using the MultiPartParser class from O'Reilly to upload the file.

The MultipartParser class has a writeTo() method on FilePart.  Should be
able to stream it into a db.  I know many others have been successful in
doing this.

-jh-

___________________________________________________________________________
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