so I guess my problem boils down to being able to process the incomiung FDF 
request in
a servlet and extract the field values from it. the servlet is being called 
from an acroform.
 
currently, the servlet is a standard servlet expecting html requests and is 
erroring out
with a nullpointerexception since it is unable to extract the fields from an 
fdf request.
 
I looked at some of the code in the 2nd edition of the book (chap 9) and 
thinking that it
would need to look something like the below:
 
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
try {
// Create a reader that interprets the request's input stream
FdfReader fdf = new FdfReader(request.getInputStream());
HashMap fields = fdf.getFields();
....

How would I proceed from here?

Assume that the request is coming from a simple acroform with one or two fields 
to be 
logged to a database...
 
Thanks 
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to