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 jakarta commons file upload libraries behind the scenes, which are also nice.
Erik
Ivan Vasquez wrote:
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.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]