fop on unix server

Here should go questions about transforming XML with XSLT and FOP.
Vonbo
Posts: 1
Joined: Fri Nov 17, 2006 4:06 pm

fop on unix server

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post 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
Post Reply