I am using FOP 0.20.3 for converting xml to pdf. When I am running the java
code locally in Visual age I don't get any errors, but when I try to
run it as servlet I get the "Root element must be root, not none".

// driver.render(input.getParser(), input.getInputSource()); driver.render(createParser(), input.getInputSource());

Use the line commmented out. You should not fiddle with
working code unless you know what you are doing or
someone who knows what happens tells you to do so.

BTW it's basic netiquette to start a new thread with
a new, meaningful subject for a new question.


Reply via email to