This content has been marked as final.
Show 3 replies
-
1. Re: How to stream a PDF back in the response of a Richfaces
alex.alvarez May 6, 2008 10:32 AM (in response to viggo.navarsete)Well, the way i did it was to create a "report" bean containing the pdf name. This bean is put in the "application" context.
Then i created a servlet that gets the report bean from the session, get the pdf name and streams it.
On the xhtml i put an iframe with the "src" pointing to the servlet mapping.
Hope it helps
-a -
2. Re: How to stream a PDF back in the response of a Richfaces
wesleyhales May 6, 2008 11:32 AM (in response to viggo.navarsete)This would be a great extension to the bridge, so if you want to attach the code to a Jira task, I will get it in the next release.
-
3. Re: How to stream a PDF back in the response of a Richfaces
viggo.navarsete May 6, 2008 3:26 PM (in response to viggo.navarsete)thanks a lot guys, I will try what you described:)