Hi Rafael,

The only way I can think of to actually "embed" a PDF, or at least to give that appearance, is to use iFrames.

The Acrobat plug-in takes over the entire window it is shown in, which when frames aren't involved is the entire client area of the browser.

So, using frames should, in theory, work (I've never actually tried to do this, so there could be hidden gotchas). An iFrame would allow you more or less to seem to "embed" the PDF.

I'd be willing to bet there aren't any other ways to do it that aren't way more trouble than they're woth, if there are any at all...

...now that THAT gauntlet is thrown down, let the flood of messages correcting me begin :)

Frank

Rafael Taboada wrote:
Hi Folks, I know my doubt is out Struts topic but I want to use ur xperiencie in my problem.

I want to show a report in PDF file inside a JSP, inside a table for example. I'm surfing on the web and all sites when try to show PDF they link to this file and the PDF is showed in the entire window if the user has acrobat in his PC. Is it possible to show the PDF but embed in JSP or HTML?? I mean, I have to show a form in order to generate the PDF, and when th user click on GENERATE REPORT button, it makes a PDF file and I want to show this PDF in the same page...
 Do u know any place where I can find information for my doubt?.
 Any help would be appreciated.
 Thanks in advance


--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to