What does this have to do with JSF ?
Can't you just do a servlet ?


On Wed, 2005-08-31 at 15:23 -0500, [EMAIL PROTECTED] wrote:
Probably I stated my question incorrectly. This is what I'm trying to do:
 
1. Based on user query, read data from the database [Done]
2. Create an excel workbook from the data [Done, using the Apache POI]
3. Display the excel workbook in the user web browser. [I'm not able to achieve this]
 
I need help for step 3.
 
Thanks a lot,
Regards,
Himanshu

-----Manfred Geiler <[EMAIL PROTECTED]> wrote: -----

To: MyFaces Development <dev@myfaces.apache.org>
From: Manfred Geiler <[EMAIL PROTECTED]>
Date: 08/31/2005 12:03PM
Subject: Re: FileUpload using myfaces

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