You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
William Victor Mote 701271c957 white-space and line-ending fixes 21 years ago
..
conf white-space and line-ending fixes 21 years ago
lib updated old servlet code, moved to contrib 22 years ago
src updated to latest api for setting logger 21 years ago
.cvsignore CVS should ignore the build directory 21 years ago
README white-space and line-ending fixes 21 years ago
build.bat Updated FOP Servlet build 21 years ago
build.sh Updated FOP Servlet build 21 years ago
build.xml Updated FOP Servlet build 21 years ago

README

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