You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Joyce Tang <jt...@irise.com> on 2001/06/12 20:09:01 UTC
Generating frameset with PDF
Dear all,
I very much need assistant on this issue:
I have a requirement to generate PDF files on the screen so that the user
can print. The number of PDFs are unknown.
It needs to be a frameset, header will have links to each individual PDF,
so that when you click on the link, the middle frame will be loaded with a
different PDF. The footer frame is navigation, continue and cancel
How should I do that?
Thanks
Re: Generating frameset with PDF
Posted by jd...@frii.com.
Hi,
I just implemented a reports page in my struts app which generates
PDF on the fly using FOP from Apache.
http://xml.apache.org/fop/index.html
It's uses XML and XSLT. It works very nicely.
peace
john ware
"Alan C. Yackel" wrote:
> For a library to make PDFs look here:
>
> http://www.lowagie.com/iText/
>
> Alan Yackel
> CTO
> Creatrixs INC.
>
>
>>
>> Dear all,
>>
>> I very much need assistant on this issue:
>> I have a requirement to generate PDF files on the screen so that the
>> user can print. The number of PDFs are unknown.
>>
>> It needs to be a frameset, header will have links to each individual
>> PDF,
>> so that when you click on the link, the middle frame will be loaded
>> with a different PDF. The footer frame is navigation, continue and
>> cancel
>>
>> How should I do that?
>>
>> Thanks
>
Re: Generating frameset with PDF
Posted by "Alan C. Yackel" <al...@creatrixs.com>.
For a library to make PDFs look here:
http://www.lowagie.com/iText/
Alan Yackel
CTO
Creatrixs INC.
>
> Dear all,
>
> I very much need assistant on this issue:
> I have a requirement to generate PDF files on the screen so that the
> user can print. The number of PDFs are unknown.
>
> It needs to be a frameset, header will have links to each individual
> PDF,
> so that when you click on the link, the middle frame will be loaded
> with a different PDF. The footer frame is navigation, continue and
> cancel
>
> How should I do that?
>
> Thanks
Re: Generating frameset with PDF
Posted by Peter Alfors <pe...@irista.com>.
Im not sure if I understand the question fully...
Do you need to create the PDF on the fly? or just point to existing PDF
files?
Do you have a question on framesets?
If you already have the PDF file, you can display it in your frameset
the same as you would any other HTML, JSP file.
However, the user's browser must be set up to actually view the PDF. If
the user's browser does not have the plug-in / mime-type set up, then
they will be asked to download the file. Therefore, you may want to
have a link to the appropriate plug-in. (that is if you cannot
gaurentee that your users will be set up properly).
Pete
Joyce Tang wrote:
>
>
> Dear all,
>
> I very much need assistant on this issue:
> I have a requirement to generate PDF files on the screen so that the
> user can print. The number of PDFs are unknown.
>
> It needs to be a frameset, header will have links to each individual
> PDF,
> so that when you click on the link, the middle frame will be loaded
> with a different PDF. The footer frame is navigation, continue and
> cancel
>
> How should I do that?
>
> Thanks