El sáb, 02-06-2007 a las 15:50 +0200, Erlend Hamnaberg escribió:
> Hello.
> 
> I need to create a component that can render a PDF file from a given
> model object.
> The pdf needs to be written to the response, to be ready to be
> downloaded.
> I might for instance use iText for this.
> 
> How can i do this? Can someone put me in the right direction?
> 
> 
> Greetings
> 
> Erlend
> 
There is a lot of ways to do this.
Using a phaseListener, for example, or even in an action of a
commandButton/commandLink.

In both, you can get the output stream from the http context and write
what you want there.

Reply via email to