Uploading files to a database

2004-08-20 Thread Ivan Vasquez
Hi, What's the preferred way to upload files into a database in a J2EE Web application? Is there any way to stream the file straight from the HttpServletRequest to the database without staging it in the server's filesystem? Thank you, Ivan.

RE: Uploading files to a database

2004-08-20 Thread Jim Barrows
-Original Message- From: Ivan Vasquez [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 1:04 PM To: [EMAIL PROTECTED] Subject: Uploading files to a database Hi, What's the preferred way to upload files into a database in a J2EE Web application? Is there any way

Re: Uploading files to a database

2004-08-20 Thread Erik Weber
I think Oracle Intermedia lets you create a BLOB directly from an InputStream. But I prefer to keep my files on the file system and just put meta data about them in the database. If you decide to write to the file system, the example file upload webapp that comes with Struts is nice. It uses

RE: Uploading files to a database

2004-08-20 Thread Jim Barrows
-Original Message- From: Jim Barrows Sent: Friday, August 20, 2004 1:14 PM To: Struts Users Mailing List Subject: RE: Uploading files to a database -Original Message- From: Ivan Vasquez [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 1:04 PM