[EMAIL PROTECTED] wrote:
> I understand it is possible to create/read FDF forms with iText

OK.

> but is 
> it possible to create an Acroform in a webapplication,

Yes, don't you have a standard form you can use?
You can always fill in fields before sending it to the browser.
(Of course, if the forms are really personalized; that is:
different for each user, you can create them on the fly;
it's just that I know few situations where that is necessary.)

> send the form to 
> a servlet (using the submit button)

"Send the form": you can send the filled in fields to the
server as FDF, XFDF or an HTML query string.

> and write result to a ‘real’ pdf 
> document on our fileserver?

Yes, you can use iText to fill in the form on server site;
- if the data is sent as an HTML query string, use setField;
- if the data is sent as (X)FDF, use this example:
http://1t3xt.info/examples/browse/?page=example&id=250

Look for XfdfReader en FdfReader, and form.setFields(fdfreader);
or form.setFields(xfdfreader);

This is easy if every user gets the same form; if the forms
are created on the fly, you'll have to save the original form
somewhere (on disk, in a database, as a temporary file,...)

-- 
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
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
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

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

Reply via email to