Re: [iText-questions] java.io.IOException: trailer not found. while trying to process FDF

2009-01-31 Thread 1T3XT info
Subhrajyoti Moitra wrote: > Thanks a lot for the quick turn-around. > really appreciate it. > > I have been able to read the fdf file without ne issues. But the below > code snippet does not print ne thing on the server console. I don't understand your question (what is ne?) and I don't understa

Re: [iText-questions] java.io.IOException: trailer not found. while trying to process FDF

2009-01-30 Thread Subhrajyoti Moitra
Thanks a lot for the quick turn-around. really appreciate it. I have been able to read the fdf file without ne issues. But the below code snippet does not print ne thing on the server console. FdfReader fr=new FdfReader(fdfIns); AcroFields af= fr.getAcroFields();

Re: [iText-questions] java.io.IOException: trailer not found. while trying to process FDF

2009-01-30 Thread 1T3XT info
Subhrajyoti Moitra wrote: > submit.setAction(PdfAction.createSubmitForm(submitUrl, null, > PdfAction.SUBMIT_CANONICAL_FORMAT)); > Please find the pdf that submits to the servlet First you tell that the PDF that submits to the servlet is made by iText; then you send a PDF that is made using Plo

Re: [iText-questions] java.io.IOException: trailer not found. while trying to process FDF

2009-01-30 Thread 1T3XT info
Subhrajyoti Moitra wrote: > Sorry!! Should have done this before. > Please find the pdf that submits to the servlet as well as the fdf that > is sent to the server. You or your server is doing something wrong when saving the FDF: All newlines are removed! Have a look at your file. It ends like th

Re: [iText-questions] java.io.IOException: trailer not found. while trying to process FDF

2009-01-30 Thread 1T3XT info
Subhrajyoti Moitra wrote: > In the servlet I read this submit and write it to a temp .fdf file using > BufferedReader. > When I use the FdfReader(inputstream) i get the below exception. > java.io.IOException: trailer not found. > Please help!! I am stuck!!! No FDF = no answer. Save your temp.fd

[iText-questions] java.io.IOException: trailer not found. while trying to process FDF

2009-01-30 Thread Subhrajyoti Moitra
Hello, I have a generated PDF form with a "Submit" button, which submits to a servlet. The submit button was generate with the following code: . submit.setAction(PdfAction.createSubmitForm(submitUrl, null, PdfAction.SUBMIT_CANONICAL_FORMAT)); In the servlet I read this submit and writ