Never, ever do code in a JSP file. JSP is for presentation only ! Not an advice, but a rule !
Hubert
From: Bruno <[EMAIL PROTECTED]> To: vasundhara machani <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [iText-questions] (no subject) Date: Tue, 2 Sep 2003 14:41:00 +0200
Quoting vasundhara machani <[EMAIL PROTECTED]>:
> Hi, > Iam getting the following error : > " file is corupted can not repaired" > What could be the error > I used Jsp, servlets , Pdf code is in JSP, to generate the PDF > file > > Please let me know what could be the wrong
I look in my crystal ball and I see, I see, I see lots of illegal characters in your PDF. Newlines and spaces, that were in your JSP and that are now also in the binary file. Look at your JSP-file (the code AND the result), do you see them too?
No? Then look at what the FAQ tells you about JSP and binary output...
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis ! http://www.msn.fr/msger/default.asp
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
