Jira issue MYFACES-446 deals exactly with this.
Sylvain is absolutely right. The only solution would be to rewrite
current web browsers, which might be diffcult  :-)
I think we could close this issue.
-Manfred


2005/8/31, Sylvain Vieujot <[EMAIL PROTECTED]>:
>  No, there is no that I know of to do this, as it would be a security
> problem for the browsers (it would allow you get any file from a user,
> without him knowing it).
> 
>  
>  
>  On Wed, 2005-08-31 at 10:52 -0500, [EMAIL PROTECTED] wrote: 
>  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