You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Pablo Ruggia <pr...@gmail.com> on 2005/04/27 14:00:41 UTC

Showing a PDF Report

Hi !!

I want to show a PDF report in client's browser. So I change page's
type-content and write in the response with an outputstream. But then
Tapestry activates a page, so the browsers show me an auful pdf string
and the page.
How can I get this working ??

Thanks !!!!

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Showing a PDF Report

Posted by Pablo Ruggia <pr...@gmail.com>.
Thanks Andreas !!!

I wasm't closing the Response !!

On 4/27/05, Andreas Andreou <an...@di.uoa.gr> wrote:
> Quoting Anatoli Krassavine
> 
> "Sorry for chipping in late, but I am surprised that
> no one mentioned the simplest and cheapest approach:
> manually get hold of HttpResponse output stream and
> write to it and then close it. Tapestry will not
> attempt to re-open the stream."
> 
> For even more details, check the archives for
> "Suppressing page response"
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Showing a PDF Report

Posted by Andreas Andreou <an...@di.uoa.gr>.
Quoting Anatoli Krassavine

"Sorry for chipping in late, but I am surprised that
no one mentioned the simplest and cheapest approach:
manually get hold of HttpResponse output stream and
write to it and then close it. Tapestry will not
attempt to re-open the stream."

For even more details, check the archives for
"Suppressing page response"

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org