Hi,
 
  Using iText code, I am submitting a PDF using createSubmitForm() for a
push button like
 
        PdfAction action1 = PdfAction.createSubmitForm(submitpath, null,
PdfAction.SUBMIT_XFDF);
        action1.next(PdfAction.javaScript("app.alert('Acro Form
Submitted.');\r", pdfWriter));
        submit1.setAction(action1);
        pdfWriter.addAnnotation(submit1);

I want to return back a result (string) from the URL submitted (say a
webservice or JSP) so that the message (string) gets displayed in the
PDF (acrobat or browser). In my JSP, i have the out.println() statements
and in some machines when i submit the pdf from acrobat reader , it
opens a browser and shows the output. But in some machines it does not.
Both type of machines has Acrobat 8.1.2 version. My question is
1. If acrobat versions are same, then what makes the difference in the
response?
2. How to get the callback in the acrobat reader itself as a alert or
popup
3. Is there a way to get callback for createSubmitForm().
 
Thanks and Regards,
Magesh
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to