Re: Embedding PDF in an HTML
- At least, I know how it can be done using ASP or ASP.NET.
This C# code snippet outputs a raw byte stream to the browser
window, using ASP.NET.
private void Page_Load ( object sender, EventArgs args )
Response.ContentType = "application/pdf";
byte  buffer = SomeFunctionToRetrieveTheByteArray();
buffer = null;
--- In XSL-FO@yahoogroups.com, "vvelu" <vvelu@y...> wrote:
> Embedding a PDF in an HTML page (rather than launching it in a
> separate window) is possible by using the <embed> tag. However,
> needs a PDF file to be stored on the server side and the URL must
> point to that file. Is there a way to avoid storing a file? As
> FOP creates the PDF, can it be streamed directly to the embedded
> the HTML page in which it is embedded.
> Your help will be greatly appreciated.
> Sam Velu