Just return it like a download file with content disposition set to
inline or sth like that
Here is a WOComponent I use for generic downloading. For PDF just set
the correct mime type and content disposition. The client browser
will ultimately decide what to do with it anyway.
HTH, Kieran
Hi Gino,
I never used PD4ML but you probably need these 2 lines :
response.setContent(yourNSData);
response.setHeader("application/pdf", "Content-Type");
On 07-02-27, at 11:56, Gino Pacitti wrote:
Hi All
I am using the PD4ML packages and can easily save PDF's to disk -
but i was wondering i
Hi All
I am using the PD4ML packages and can easily save PDF's to disk - but
i was wondering if anyone had used it a successfully was able to
display the PDF to browser?
I have this snippet:
try{
PD4ML html = new PD4ML();
StringReader sr = new StringReader