I'm developing a JSP with FOP and this code not run at TOMCAT server

    File xmlf = new File("xml.xml");
    File xslf = new File("xsl.xsl");
    File writefile = new File("fop333.pdf");
    Driver driver = new Driver();
    InputHandler inputHandler = new XSLTInputHandler(xmlf, xslf);
    XMLReader parser = inputHandler.getParser();
    InputSource inputSource = inputHandler.getInputSource();
    driver.setOutputStream(new FileOutputStream(writefile));
    driver.render(parser, inputSource);
    } catch (Exception ex) {System.out.println(ex.toString()); }

¿what is the utility of fop.war file?

Reply via email to