xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pedro Barco Bernal" <pba...@ceh.junta-andalucia.es>
Subject FOP.WAR
Date Fri, 08 Feb 2002 12:21:47 GMT
I'm developing a JSP with FOP and this code not run at TOMCAT server

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

┬┐what is the utility of fop.war file?



Mime
View raw message