> I am working on a Web application where we (the developers) want to convert 
> the final JSP rendered currently into a PDF as an alternative.  The Web 
> application has a series of forms where the user enters data and the final 
> JSP is rendered so that the user can print a summary of the data entered in 
> the application.
>
> I purchased the book "iText in Action" and started thinking about the design 
> options.  I definitely want to generate the PDF in the Servlet and was able 
> to follow the "Hello World" example to accomplish this task.  However, there 
> are a few images and lots of static content in tables so I thought it would 
> be more efficient to create a PDF via Acrobat Adobe with the static content 
> and use iText to populate the dynamic content.  Is this the best design 
> approach?  If so, I was wondering if there is something special about 
> creating the PDF file in Adobe Acrobat Pro 9 that I should know.  The reason 
> I ask is because the PdfReader is failing with the following error message:
> "IO Exception in createPDF method: Rebuild failed: trailer not found.; 
> Original message: xref subsection not found at file pointer 118".  Any help 
> with be greatly appreciated as I am new to iText and PDFs.  Thank you

 
-------------------------------------------------------------------------------------------------------------
 
 The information contained in this e-mail, and attachment(s) thereto, is 
intended for use by the named addressee only, and may be confidential or 
legally privileged.    If you have received this e-mail in error, please notify 
the sender immediately by reply e-mail or by telephone at the number listed 
above and permanently delete this e-mail message and any accompanying 
attachment(s).    Please also be advised that any dissemination, retention, 
distribution, copying or unauthorized review of this communication is strictly 
prohibited. 
-------------------------------------------------------------------------------------------------------------
 
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to