A PDF file that begins with:

> <HTML>
> <BODY>

IS AN HTML FILE, NOT A PDF FILE!!!!!!!!

> <%@ page import="java.io.*" %>
> <%@ page import="java.util.*" %>
> <%@ page import="com.lowagie.text.*" %>
> <%@ page import="com.lowagie.text.pdf.*" %>

In the 4 lines above, you have 4 newlines damaging the PDF-file.

Please do not use JSP to generate PDF.
Every manual or handbook says you should use Servlets to generate
binary data, NOT JSPs.

Bruno


-------------------------------------------------------
Sponsored by: AMD - Your access to the experts on Hammer Technology! 
Open Source & Linux Developers, register now for the AMD Developer 
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to