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 PROTECT

RE: Uploading files to a database

2004-08-20 Thread Daniel Kalcevich
e returned from upload.getUFile(). Hope this helps. Daniel -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

Re: Uploading files to a database

2004-08-20 Thread Axel Seinsche
Ivan Vasquez schrieb: 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. That's how I use it. But in m

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 j

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

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. ---