Hi all,

  where could i find these classes/package adobe.fdf?
  do we have any library provided by adobe for
creation and maintaince of pdf documents.

Thanks
Regards
Shrikant.


--- Mark Galbreath <[EMAIL PROTECTED]> wrote:
> Adobe has a class called the FDF toolkit that you
> can use  (Sun uses it for
> the J2SE 1.3 and JSDK 2.3 documentation).
>
> You have to add it to the classpath.  They have a
> couple of examples on
> their web site.
>
> The command to set a value is:
> doc.SetValue("A157","NEW BRUNSWICK",false);
>
> The "A157" is a named field.
> "New Brunswick" is the value.
> false is a flag.
>
> // define
> import com.adobe.fdf.*;
>
>
> // initialize
> private FDFTK THE_FDFTK;
>
>
> public void init(ServletConfig config) throws
> ServletException{
>     super.init(config);
>
>        THE_FDFTK = new FDFTK();
>        THE_FDFTK.FDFTKInit();
>
> then you do something like this:
>
> public void toPost (HttpServletRequest req,
> HttpServletResponse res)
> throws ServletException, IOException {
> try {
>         FDFDoc doc = new FDFDoc();
>
> doc.SetFile("http://localhost/SF86Form.pdf";);
>         doc.SetValue("A157","NEW BRUNSWICK",false);
> } catch (FDFException e) {
>   /*PrintWriter toClient = res.getWriter();
>      toClient.println("Caught FDF exception");
>   toClient.println(e.toString());
>   toClient.close();
>   */
> }
>
> (From an email from Kenneth Rowe)
> Cheers!
> Mark
>
>
> ----- Original Message -----
> From: "G S Sundar" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, June 15, 2001 1:36 AM
> Subject: Display PDF thru Servelt.
>
>
> > Hello All,
> > How do i display the .PDF file using servlet. When
> i click my "Show
> Document"
> > button it should display the specific .PDF in
> browser. I didn't get any
> result
> > in servlet-interest archive. Even in google i
> didn't get satisfactory
> answer.
> > Can some one please help in this regard.
> >
> > Thanx in Advance
> > G S Sundaram
> >
> >
>
___________________________________________________________________________
> > 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


__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

___________________________________________________________________________
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

Reply via email to