Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to serve a pdf in a JSF application

574648Jan 4 2008 — edited Jan 4 2008
Hi all,

I'l like to know what would be the easiest way to serve a pdf file to the client, considering that we're working in a JSF application.

We am doing this with Servlets at the moment but it is quite a hassle to get the FacesContext from within those servlets.

So, is there any straightforward, simple solution to this?
In fact the same thing applies for XML or any other content type. I don't really know how to start with it.


Thanks,
Steven
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 1 2008
Added on Jan 4 2008
6 comments
439 views