Thanks Paulo,
It works :), iText is more powerful than it seems at first.
David
-Mensaje original-
De: Paulo Soares [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 04 de agosto de 2003 18:43
Para: Carmona Perez, David; Itext-Questions (E-mail)
Asunto: RE: [iText-questions]
I'm getting an exception in the following program that has me baffled. Any
help would be greatly appreciated. The stack trace is:
--
java.lang.ClassCastException
at com.lowagie.text.pdf.PdfReader.getPageContent(PdfReader.java:865)
at
Quoting Paulo Soares [EMAIL PROTECTED]:
That's not possible for the first page. You have to do it before opening
the document.
If you didn't add anything to the document, I think you can do it
by invoking newPage() after changing the page size.
Thanks for the follow-up.
1) I have verified that I do not have any other versions or jar files with
it in my application
2) I have no access.policy, would that cause the problem? As I am having
no problems with my other JAR files.
3) If I put it in my WEB-INF/lib directory it should
That's not possible for the first page. You have to do it before opening the
document.
Best Regards,
Paulo Soares
-Original Message-
From: Roberto Cipollini [SMTP:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 13:18
To: [EMAIL PROTECTED]
Subject: [iText-questions] Page