简体   繁体   中英

Ajax4jsf File Upload

I want to upload a file with AJAX in a JSF application. The idea is that as soon as the user selects the file, it is uploaded, and a preview is shown. Currently I am using t:inputFileUpload and have the code to insert the image in a database and show the preview. I tried a4j:support but it did not work.

Many thanks, Panayiotis

Try the Richfaces file-upload component

http://livedemo.exadel.com/richfaces-demo/richfaces/fileUpload.jsf

Regards.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM