1T3XT info wrote:
> 
> wmhfitz wrote:
>> Does the garbage start with %PDF- ?
> Yes
> 
>> FF3 the pdf is returned (Yay!).
> Yes
> 
>>Are you sure you don't have remains of Document in your code somewhere?
> 
> Yes there is:
> public class FormPdfView extends AbstractPdfView {
> 
> protected void buildPdfDocument(Map model, Document document, PdfWriter
> writer, HttpServletRequest request, HttpServletResponse response) throws
> ServletException, IOException {
> 
> 
> 
> 
>> On IE6 I get garbage displayed on the screen,
> 
> Does the garbage start with %PDF- ?
> 
>> FF3 the pdf is returned (Yay!).
> 
> Does the PDF look as expected?
> 
>> But still getting the The document has no pages error.
> 
> That error is caused by the Document class.
> If you are no longer using the Document class, you shouldn't get that 
> exception anymore. Are you sure you don't have remains of Document in 
> your code somewhere?
> -- 
> This answer is provided by 1T3XT BVBA
> http://www.1t3xt.com/ - http://www.1t3xt.info
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> 
> 

-- 
View this message in context: 
http://www.nabble.com/The-document-has-no-pages.-tp21080269p21107647.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to