Skip to Content

Offline Interactive Form Using Download - how to store a file on the WAS?

Hi all,

We are using tutorial Offline Interactive PDF Form Using Download (30) as a test application to see if we get the basic Adobe functionality to work. However, in the tutorial they tell you to create a project. We have decided to create a DC (development component) instead. Now we are stuck at the following piece of Java code: String fileName = "temp

We would like to store the source file on the Web Application Server, not on a local drive. Does somebody know what to fill in for String fileName?

Thanks in advance for your help!

kind regards,

Angelique Heutinck

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    Posted on Feb 02, 2007 at 10:18 PM

    You can place the file where ever you want on the Web Application Server and just give the path to the file and the file name. For example if you place the file under "/usr/samples/AdobeDemoFolder/

    String fileName = "/usr/samples/AdobeDemoFolder/TankInspection.pdf"

    for Unix

    for windows it will be

    String fileName = "c:/usr/samples/AdobeDemoFolder/TankInspection.pdf"

    Add comment
    10|10000 characters needed characters exceeded