Hi Steffi, You can customize FileUpload by extending the FileUpload class and implementing the FileItemFactory and FileItem interfaces. It is not too difficult, just look at the source code. Otherwise you could wait for my book on Jakarta Commons which comes out next year, which MAY include customizing FileUpload.
Regards, Vikram Goyal ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 22, 2003 1:04 AM Subject: Customize FileUpload to store files directly into database Hi, I want to store uploaded files directly into database instead of keeping them in memory or storing them temporarlily to disk. The documentation (http://jakarta.apache.org/commons/fileupload/using.html) says that to get this done, I have to customize FileUpload. However, the description of how to do this customization is not available yet - the page says: "TODO: Document usage of factories and subclassing for customization" (http://jakarta.apache.org/commons/fileupload/customizing.html). Has anyone tried this yet and/or knows how to customize FileUpload properly? When will the documentation on the Apache FileUpload customizing page be available? Thank you! Steffi ____________________________________________________ Internetauftritt der Deutschen Bahn AG >> http://www.bahn.de --------- Diese E-Mail k�nnte vertrauliche und/oder rechtlich gesch�tzte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt�mlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ---------- --------------------------------------------------------------------- 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]
