I would just follow the example on the Wiki here:

http://wiki.apache.org/myfaces/Setup_For_File_Uploads

And then in the action retrieve the byte array from the UploadedFile and write it to a blob in the database. You could set the uploadThresholdSize high enough so that the uploaded files never get written to disk.

Jurgen

[EMAIL PROTECTED] schreef:
Hi,

i just want to upload a file and store it immediate in a database.
Have somebody successfuly tried this?
Must u manipulate the uploadRepositoryPath in the web.xml ???

Tanx!







Reply via email to