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.
Jeremias Maerki 69a00e2309 Fix web.xml (was not valid) 21 years ago
..
conf Fix web.xml (was not valid) 21 years ago
lib Example Servlet moved over from contrib/servlet 21 years ago
src Switched to long licence 21 years ago
.cvsignore Example Servlet moved over from contrib/servlet 21 years ago
README Example Servlet moved over from contrib/servlet 21 years ago
build.bat Example Servlet moved over from contrib/servlet 21 years ago
build.sh Example Servlet moved over from contrib/servlet 21 years ago
build.xml Example Servlet moved over from contrib/servlet 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. Run build.bat (on Windows) or build.sh (on Unix) to create the WAR file.
2. Deploy the WAR file in your 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