org.apache.fop.servlet |
org.apache.fop.servlet Package
This package contains two sample FOP servlets.
|
Java Source File Name | Type | Comment |
FopPrintServlet.java | Class | Example servlet to generate a fop printout from a servlet.
Printing goes to the default printer on host where the servlet executes.
Servlet param is:
- fo: the path to a XSL-FO file to render
or
- xml: the path to an XML file to render
- xslt: the path to an XSLT file that can transform the above XML to XSL-FO
Example URL: http://servername/fop/servlet/FopPrintServlet?fo=readme.fo
Example URL: http://servername/fop/servlet/FopPrintServlet?xml=data.xml&xsl=format.xsl
Note: This servlet is derived from FopServlet. |
FopServlet.java | Class | Example servlet to generate a PDF from a servlet.
Servlet param is:
- fo: the path to a XSL-FO file to render
or
- xml: the path to an XML file to render
- xslt: the path to an XSLT file that can transform the above XML to XSL-FO
Example URL: http://servername/fop/servlet/FopServlet?fo=readme.fo
Example URL: http://servername/fop/servlet/FopServlet?xml=data.xml&xslt=format.xsl
For this to work with Internet Explorer, you might need to append "&ext=.pdf"
to the URL.
author: Apache FOP Development Team version: $Id: FopServlet.java 513845 2007-03-02 17:11:41Z jeremias $ version: (todo) Ev. |
ServletContextURIResolver.java | Class | This class is a URIResolver implementation that provides access to resources in the WEB-INF
directory of a web application using "servlet-content:" URIs. |