Hello All,
 
I'm using the FileUpload component of myfaces. It needs to provide the name of the file in the browser and when the file is uploaded to the browser, a link is provided to download the image. It works great!
 
What I want is to push the file to the browser from the server without user intervention, ie if they click a button, it will display the content of the file in the browser. Basically populate the UploadedFile object manually in the backing bean (Java code) and then when the link to display the file is clicked, it is displayed in the browser.
 
Please let me know if anyone has created the UploadedFile object (the concrete implemenation of UploadedFile), or if there is any other solution in which the user need not specify the name of the file to be uploaded.
 
Thanks,
Himanshu

Reply via email to