Hi Jurgen,

thanx for that very quick answer!
That work for me! Very well work!

But i have another question at all:
How can i access this blob?
With the graphicImage tag?
I tried this, but tomcat says:
"Graphic with id image has no value (url)"
I access my database with hibernate, so my tag is:
graphicImage value="#{home.picture}"
I hope that can work...

Somebody tried that before me?
Would be nice : )

Jurgen Lust schrieb: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!






  




Noch allein? 1 Million Singles warten auf ein Date!
Schnell Kontakt aufnehmen bei Deutschlands beliebtester Partnerboerse
http://singles.freenet.de/index.html?pid=11512

Reply via email to