-------------- Original message ----------------------
From: Manoj Sagar <[EMAIL PROTECTED]>
>
> 
> Hi,
> 
> I have created one pdf form with 4 text fields and one submit button using
> itext API. 
> I want to submit the form data from acrobat reader to tomcat server.
> After submitting the pdf form, is it possible to get the response object in
> pdf, which will show the message data has been updated successfully?

Yes, indeed. This is possible with iText.

One way to do it is to submit as HTML (Url-encoded Name=Value pairs) to a 
server-side script that captures the submitted form data, and then merges the 
form data with a server-side copy of the PDF form from which it was submitted, 
and finally, sends the filled PDF form back to the client-side computer. This 
works just fine with Adobe Reader.

One limitation: You may not use recent versions of Adobe Reader to do all of 
this on the same computer, e.g., with a local host Tomcat server, as it would 
be in violation of the Reader EULA.

In fact, this strategy works with Reader-Enabled AcroForms, as well, without 
breaking said forms, as long as the server-side script that fills the AcroForm 
has/employs Append Mode = True. This is not speculation, as these assertions 
have been tested (with a CGI server), although not with a Tomcat server, as I 
have none that is available for "free" use.

Best regards,
Bill Segraves


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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