Page 1 of 1

fop on unix server

Posted: Fri Nov 17, 2006 4:10 pm
by Vonbo
Hello.

I need help with understanding how I'm able to convert from XML to pdf on a server using fop. On my computer it works fine when typing in the right commands in the command terminal window. But how does this work on a server? The issues is to trigger the fop when a user of a website is pushing the "Genereate PDF"-button.

Any suggestions? Or someone have a script that does this?

Thanks

Posted: Sat Nov 18, 2006 12:20 pm
by sorin_ristache
Hello,

That depends on the server. Some servers have builtin support for FOP so you have to configure it as the user documentation specifies. With other servers you can use FOP only if they can execute a Java application: create a JVM to execute the class org.apache.fop.apps.Fop and specify the FO file, the output format and the output file as parameters.


Regards,
Sorin