FDF as you probably know is just text, with a URI reference to the Binary PDF embedded
in the text. "/F". Sending text from a servlet is the easy part. Setting the Field
Names/Values is something that can be done by creating the FDF stream on the fly
either from a database or XML/XSL transformation.
response.setContentType("application.vnd/fdf"); // to announce FDF
If you save a form as FDF from ACROBAT using the client side form, it will show you
the FDF representation you need to pass back to client.
I have an XSL Stylesheet we use that I can share email me privately an I will send it
to you.
Regards
Bill Lindsay
Merrill Lynch
-----Original Message-----
From: lucas lim [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 8:44 PM
To: [EMAIL PROTECTED]
Subject: Using Acrobat SDK on Servlets
Hi everybody,
I'm trying to create a pdf/fdf version of a form with the value of each
field dynamically assigned. I'm running a tomcat on a solaris box. Anybody
had done this before? I'm pretty new to acrobat stuff but I need a nice
print out page for the application that I'm building. I've just downloaded
the Acrobat SDK 4.0 and take a look at the codes but still trying to find
out the easiest and fastest way to do this. I aware that there's actually a
Java sample code on it but that's how far I go.
If this is considered as off-topic discussion then I'm sorry but the thing
is I'm trying to run it on servlets.
Thanks,
Lucas
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html