Hi,
Thanks for the advice,
Business logic is done in servlets, jsp is used for presentation only, but i hav to use \n and space for alignments for dynamic data as part of header...is this cause for file corruption?


and one more query, all this pdf code is in within try catch block , if the code exceeds 5000 lines on browser gives too large code for try ..
is there any such limit ?


Thanks & Regards,
Vasundhara



On Wed, 03 Sep 2003 Hubert Lingo wrote :
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



___________________________________________________ Meet your old school or college friends from 1 Million + database... Click here to reunite www.batchmates.com/rediff.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

Reply via email to