This servlet has been developed as the replacement for the original Oracle FOP servlet for Apex reports. It could be configured with Oracle Apex 5 Reports and to generate PDF documents from the XML data and XSLT templates. APEX 5 configuration details could be found here
Servlet accepts two parameters as below:
Name | Description |
---|---|
xml | Data in XML format to be printed. |
template | XSLT template to generate XSL-FO document |
- For GET request parameter values should be URL-encoded. Sample URL http://localhost:8080/Apex5Fop/pdf_print.jsp?xml=…&template=…
- For POST requests data should be HTML-encoded
Special thanks to @RogerPilkey, who has adapted the JSP code to FOP 2.2