- FOP Servlet Readme
-
- This directory contains two sample servlets that use FOP:
-
- - FopServlet can take a XSL:FO file or a XML+XSLT as parameters to create a PDF
- that is being shown in the browser.
-
- - FopPrintServlet has the same parameters but prints the generated document to
- the default printer instead of generating a PDF.
-
- Creating the WAR file:
-
- 1. Get a servlet.jar and put it in the lib directory under this directory.
- 2. Run build.bat (on Windows) or build.sh (on Unix) to create the WAR file.
- 3. Put the WAR file in you favourite web container.
-
- Sample URLs:
- http://localhost:8080/fop/servlet/FopServlet?fo=readme.fo
- http://localhost:8080/fop/servlet/FopPrintServlet?fo=readme.fo
-
- Tip: If you have problems using Internet Explorer, try this URL:
- http://localhost:8080/fop/servlet/FopServlet?fo=readme.fo&ext=.pdf
|